Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
Immanuel
/
btpd
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Initialize the interval variable even when we don't read its value from the
tracker reply.
master
Richard Nyberg
18 anos atrás
pai
db7f22db73
commit
3bb3d2c074
1 arquivos alterados
com
3 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-1
btpd/http_tr_if.c
+ 3
- 1
btpd/http_tr_if.c
Ver arquivo
@@ -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;
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar