このサイトは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
19年前
親
db7f22db73
コミット
3bb3d2c074
1個のファイルの変更
、
3行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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;
書き込み
プレビュー
読み込み中…
キャンセル
保存