Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/commands.c @ 1686:393c05fba337
Use G_GNUC_PRINTF to check scr_LogPrint arguments
And some minor fixes, revealed by that.
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sun, 31 Jan 2010 16:08:50 +0200 |
parents | 1342df44c814 |
children | ac881b5f9248 |
line wrap: on
line diff
--- a/mcabber/mcabber/commands.c Tue Feb 02 22:44:18 2010 +0100 +++ b/mcabber/mcabber/commands.c Sun Jan 31 16:08:50 2010 +0200 @@ -3345,7 +3345,8 @@ for (p = evidlst; p; p = g_slist_next(p)) { if (evs_callback(p->data, action, (const char*)(paramlst+2)) == -1) { - scr_LogPrint(LPRINT_NORMAL, "Event %s not found.", p->data); + scr_LogPrint(LPRINT_NORMAL, "Event %s not found.", + (const char *)p->data); } } g_slist_free(evidlst);