ircd: client: fix format string for free_user() debug notice

This commit is contained in:
William Pitcock 2016-03-20 01:57:19 -05:00
parent 4e376fff55
commit 0b9aca384a

View file

@ -1802,15 +1802,15 @@ free_user(struct User *user, struct Client *client_p)
if(user->refcnt < 0 || user->invited.head || user->channel.head) if(user->refcnt < 0 || user->invited.head || user->channel.head)
{ {
sendto_realops_snomask(SNO_GENERAL, L_ALL, sendto_realops_snomask(SNO_GENERAL, L_ALL,
"* %#lx user (%s!%s@%s) %#lx %#lx %#lx %lu %d *", "* %p user (%s!%s@%s) %p %p %p %lu %d *",
(unsigned long) client_p, client_p,
client_p ? client_p-> client_p ? client_p->
name : "<noname>", name : "<noname>",
client_p->username, client_p->username,
client_p->host, client_p->host,
(unsigned long) user, user,
(unsigned long) user->invited.head, user->invited.head,
(unsigned long) user->channel.head, user->channel.head,
rb_dlink_list_length(&user->channel), rb_dlink_list_length(&user->channel),
user->refcnt); user->refcnt);
s_assert(!user->refcnt); s_assert(!user->refcnt);