Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
btpd
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Initialize the interval variable even when we don't read its value from the
tracker reply.
master
Richard Nyberg
18 anni fa
parent
db7f22db73
commit
3bb3d2c074
1 ha cambiato i file
con
3 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
btpd/http_tr_if.c
+ 3
- 1
btpd/http_tr_if.c
Vedi File
@@ -66,8 +66,10 @@ parse_reply(struct torrent *tp, const char *content, size_t size, int parse,
return 1;
}
if (!parse)
if (!parse) {
*interval = -1;
return 0;
}
if (!benc_dct_chk(content, 2, BE_INT, 1, "interval", BE_ANY, 1, "peers"))
goto bad_data;
Write
Preview
Loading…
Annulla
Salva