jcs
/wallops
/amendments
/97
irc: Tweak panic message, we're allocating /for/ nicks
jcs made amendment 97 2 months ago
--- irc.c Thu Sep 12 09:11:09 2024
+++ irc.c Thu Sep 12 20:25:07 2024
@@ -1384,7 +1384,7 @@ irc_add_nick_to_channel(struct irc_channel *channel, c
sizeof(struct irc_channel_nick),
channel->nicks_size);
if (channel->nicks == NULL)
- panic("out of memory allocating for %ld nicks",
+ panic("out of memory allocating %ld for nicks",
sizeof(struct irc_channel_nick) * channel->nicks_size);
memset(&channel->nicks[channel->nnicks], 0,
sizeof(struct irc_channel_nick) *