This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
Immanuel
/
btpd
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
Activity
Преглед изворни кода
Fix bug in benc_length. benc_first shouldn't be used here since it returns
NULL on empty lists or dictionaries. This could cause crashes. Reported by Robert Jonsson.
master
Richard Nyberg
пре 18 година
родитељ
2886768d30
комит
8f4fde49ee
1 измењених фајлова
са
1 додато
и
1 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
misc/benc.c
+ 1
- 1
misc/benc.c
Прегледај датотеку
@@ -114,7 +114,7 @@ benc_length(const char *p)
case 'd':
case 'l':
blen = 2; // [l|d]...e
next =
benc_first(p)
;
next =
p + 1
;
while (*next != 'e') {
size_t len = benc_length(next);
blen += len;
Write
Preview
Loading…
Откажи
Сачувај