summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-02 15:55:26 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-02 15:55:26 +0000
commit55c2554dbab7eef4ef025aff8028c3c1422f8a79 (patch)
tree0a2fafaf47e91a53306f12a177d0465bf0187998 /src/fe-common
parent8009aae044689fe6381deec90e68cdee0879c232 (diff)
downloadirssi-55c2554dbab7eef4ef025aff8028c3c1422f8a79.zip
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
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/formats.c2
1 files changed, 1 insertions, 1 deletions
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;