From 55c2554dbab7eef4ef025aff8028c3c1422f8a79 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 2 May 2002 15:55:26 +0000 Subject: [PATCH] format_read_arglist() now prints the format name also when complaining about parameters. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2747 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 99f12ce4..6941391e 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -228,7 +228,7 @@ void format_read_arglist(va_list va, FORMAT_REC *format, case FORMAT_STRING: arglist[num] = (char *) va_arg(va, char *); if (arglist[num] == NULL) { - g_warning("format_read_arglist() : parameter %d is NULL", num); + g_warning("format_read_arglist(%s) : parameter %d is NULL", format->tag, num); arglist[num] = ""; } break;