1
0
forked from bip/bip

Fix some 'const const char' declarations

That's one two many consts...recent GCC blips on this.

Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr>
This commit is contained in:
Adam Williamson 2017-07-25 13:08:38 -07:00 committed by Pierre-Louis Bonicoli
parent 0e6444198b
commit 2ecd82f011
No known key found for this signature in database
GPG Key ID: 599BE372BA30A78C

View File

@ -440,8 +440,8 @@ void log_join(log_t *logdata, const char *ircmask, const char *channel)
log_write(logdata, channel, logdata->buffer);
}
void log_part(log_t *logdata, const const char *ircmask, const char *channel,
const const char *message)
void log_part(log_t *logdata, const char *ircmask, const char *channel,
const char *message)
{
if (message)
snprintf(logdata->buffer, LOGLINE_MAXLEN,