本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Immanuel
/
btpd
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Initialize the interval variable even when we don't read its value from the
tracker reply.
master
Richard Nyberg
18 年之前
父節點
db7f22db73
當前提交
3bb3d2c074
共有
1 個檔案被更改
,包括
3 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
btpd/http_tr_if.c
+ 3
- 1
btpd/http_tr_if.c
查看文件
@@ -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…
取消
儲存