mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
Remove a comment about kill_timer()
The comment said "it is not possible to call kill_timer from a timer handler." Sure, such calls used to crash occasionally, but that was bug 868 and has already been fixed.
This commit is contained in:
parent
a833d6d093
commit
a3fba83f80
@ -273,8 +273,7 @@ send_bittorrent_tracker_request(struct connection *conn)
|
|||||||
struct bittorrent_connection *bittorrent = conn->info;
|
struct bittorrent_connection *bittorrent = conn->info;
|
||||||
|
|
||||||
/* Kill the timer when we are not sending a periodic request to make
|
/* Kill the timer when we are not sending a periodic request to make
|
||||||
* sure that there are only one tracker request at any time. Besides
|
* sure that there are only one tracker request at any time. */
|
||||||
* it is not possible to call kill_timer() from a timer handler. */
|
|
||||||
kill_timer(&bittorrent->tracker.timer);
|
kill_timer(&bittorrent->tracker.timer);
|
||||||
|
|
||||||
do_send_bittorrent_tracker_request(conn);
|
do_send_bittorrent_tracker_request(conn);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user