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
Merge pull request
#36
from brianmwaters/master
Accept bencoded dictionaries whose keys are not in alphabetical order. Closes GH-30 Closes GH-36
master
Marq Schneider
12 years ago
parent
c550cbb435
382ccb7485
commit
c408419bd2
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