소스 검색

Accept invalid .torrent files.

Accept .torrent files whose bencoded dictionaries are not in
alphabetical order.
master
Brian M. Waters 12 년 전
부모
커밋
382ccb7485
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -3
      misc/benc.c

+ 1
- 3
misc/benc.c 파일 보기

@@ -233,10 +233,8 @@ benc_dget_any(const char *p, const char *key)
cmp = strncmp(bstr, key, blen);
if (cmp == 0 && len == blen)
return p;
else if (cmp <= 0)
p = benc_next(p);
else
return NULL;
p = benc_next(p);
}
return NULL;
}


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