comparison 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
comparison
equal deleted inserted replaced
1685:1342df44c814 1686:393c05fba337
3343 evidlst = g_slist_append(NULL, evid); 3343 evidlst = g_slist_append(NULL, evid);
3344 } 3344 }
3345 for (p = evidlst; p; p = g_slist_next(p)) { 3345 for (p = evidlst; p; p = g_slist_next(p)) {
3346 if (evs_callback(p->data, action, 3346 if (evs_callback(p->data, action,
3347 (const char*)(paramlst+2)) == -1) { 3347 (const char*)(paramlst+2)) == -1) {
3348 scr_LogPrint(LPRINT_NORMAL, "Event %s not found.", p->data); 3348 scr_LogPrint(LPRINT_NORMAL, "Event %s not found.",
3349 (const char *)p->data);
3349 } 3350 }
3350 } 3351 }
3351 g_slist_free(evidlst); 3352 g_slist_free(evidlst);
3352 } 3353 }
3353 3354