This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
btpd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Accept invalid .torrent files.
Accept .torrent files whose bencoded dictionaries are not in alphabetical order.
master
Brian M. Waters
12 years ago
parent
c550cbb435
commit
382ccb7485
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
misc/benc.c
+ 1
- 3
misc/benc.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save