Fix -Wformat errors found in ircd-ratbox.
We cannot use -Wformat meaningfully but ircd-ratbox trunk can.
This commit is contained in:
parent
a695b0e40e
commit
0cce01d388
8 changed files with 25 additions and 22 deletions
|
@ -149,14 +149,14 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
|
|||
sendto_one(source_p, form_str(RPL_TESTLINE),
|
||||
me.name, source_p->name,
|
||||
'!',
|
||||
duration / 60,
|
||||
duration / 60L,
|
||||
host, "Reject cache");
|
||||
if(aconf == NULL &&
|
||||
(duration = is_throttle_ip((struct sockaddr *)&ip)))
|
||||
sendto_one(source_p, form_str(RPL_TESTLINE),
|
||||
me.name, source_p->name,
|
||||
'!',
|
||||
duration / 60,
|
||||
duration / 60L,
|
||||
host, "Throttled");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue