diff options
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -110,7 +110,7 @@ static void do_priv_nick(void) { nobody's ping time will ever be more than 9 minutes. anyone that lagged will have been disconnected from the server already. if this assumption turns out to be false, the ping time displayed - will be wrong (module ~9 mins). I don't think it's ever going to be + will be wrong (modulo ~9 mins). I don't think it's ever going to be a real problem. Why do it this way? Because using longs instead of ints bloats the code by 778 bytes! */ @@ -128,8 +128,8 @@ static void print_ping_time(char *p) { sec = pingtime / hz; frac = pingtime % hz; - frac *= 1000; - frac /= (hz * 10); + frac *= 100; + frac /= hz; scr_print_active("*** "); scr_print_active(msg_src); |
