Commit Diff


commit - 318c8b238b1a562578e994450cb9fd08b6b65873
commit + 3358ad07d78f82f6aad973f56667be9f24e00563
blob - 000cb848f82f92df6f4760a32e20c7b4ccdcd165
blob + 808a85703fa48defffe9128fe2cb503beb3533bd
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
@@ -419,13 +419,12 @@ IRC_NAMES( CLIENT *Client, REQUEST *Req )
 
 
 static unsigned int
-t_diff(time_t *t, const time_t div)
+t_diff(time_t *t, const time_t d)
 {
 	time_t diff, remain;
 
-	diff = *t / div;
-
-	remain = diff * div;
+	diff = *t / d;
+	remain = diff * d;
 	*t -= remain;
 
 	return diff;