diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-05-08 09:35:29 +0200 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-06-29 15:24:03 -0400 |
commit | 7dca22048633479e28fec8e311ae80c9f55d46b6 (patch) | |
tree | f6f53c0b017683edb56af852acf46af2e3e38c2f /src/common/dcc.c | |
parent | 111ba3750fd16c81100de6b759103e527c2c22f7 (diff) |
Refactor timer handling
This allows us to omit the lagometer timer in the event that it is not enabled, bringing the baseline wake-up rate down to 1Hz from 2Hz, which could bring considerable power savings on mobile devices.
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r-- | src/common/dcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c index 6c5b117e..cf909a14 100644 --- a/src/common/dcc.c +++ b/src/common/dcc.c @@ -233,7 +233,7 @@ is_dcc_completed (struct DCC *dcc) return FALSE; } -/* this is called from hexchat.c:hexchat_misc_checks() every 1 second. */ +/* this is called from hexchat.c:hexchat_check_dcc() every 1 second. */ void dcc_check_timeouts (void) |