1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -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:
Kalle Olavi Niemitalo 2008-06-15 11:41:52 +03:00 committed by Kalle Olavi Niemitalo
parent a833d6d093
commit a3fba83f80

View File

@ -273,8 +273,7 @@ send_bittorrent_tracker_request(struct connection *conn)
struct bittorrent_connection *bittorrent = conn->info;
/* 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
* it is not possible to call kill_timer() from a timer handler. */
* sure that there are only one tracker request at any time. */
kill_timer(&bittorrent->tracker.timer);
do_send_bittorrent_tracker_request(conn);