소스 검색

Sanity checks.

master
Richard Nyberg 20 년 전
부모
커밋
bdb91bc49b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      btpd/net.c

+ 2
- 0
btpd/net.c 파일 보기

@@ -30,6 +30,7 @@ net_bw_read_cb(int sd, short type, void *arg)
struct bwlim *bw = arg;

btpd.ibw_left += bw->count;
assert(btpd.ibw_left <= btpd.ibwlim);

unsigned long count = 0;

@@ -79,6 +80,7 @@ net_bw_write_cb(int sd, short type, void *arg)
struct bwlim *bw = arg;

btpd.obw_left += bw->count;
assert(btpd.obw_left <= btpd.obwlim);

unsigned long count = 0;



불러오는 중...
취소
저장