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
1 changed files with 2 additions and 2 deletions

View File

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