Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
Immanuel
/
btpd
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
Initialize the interval variable even when we don't read its value from the
tracker reply.
master
Richard Nyberg
il y a 18 ans
Parent
db7f22db73
révision
3bb3d2c074
1 fichiers modifiés
avec
3 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+3
-1
btpd/http_tr_if.c
+ 3
- 1
btpd/http_tr_if.c
Voir le fichier
@@ -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;
Écrire
Aperçu
Chargement…
Annuler
Enregistrer