summaryrefslogtreecommitdiff
path: root/src/configfile-glue.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-05-14 09:38:30 +0000
committerStefan Bühler <stbuehler@web.de>2015-05-14 09:38:30 +0000
commitdf87b3ef98711b6a4ca4cefb1fceec022ddcdc13 (patch)
tree152f07981c693d18fa902a59cb0a63be3d780bfd /src/configfile-glue.c
parentc92496720d21ea7888187a8ae305c392d4fe824a (diff)
downloadlighttpd-git-df87b3ef98711b6a4ca4cefb1fceec022ddcdc13.tar.gz
fix error message for T_CONFIG_ARRAY config values if an entry value is not a string
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2987 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/configfile-glue.c')
-rw-r--r--src/configfile-glue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configfile-glue.c b/src/configfile-glue.c
index f411d720..807e3074 100644
--- a/src/configfile-glue.c
+++ b/src/configfile-glue.c
@@ -56,9 +56,9 @@ int config_insert_values_internal(server *srv, array *ca, const config_values_t
array_insert_unique(cv[i].destination, (data_unset *)ds);
} else {
- log_error_write(srv, __FILE__, __LINE__, "sssd",
- "the key of an array can only be a string or a integer, variable:",
- cv[i].key, "type:", da->value->data[j]->type);
+ log_error_write(srv, __FILE__, __LINE__, "sssbsd",
+ "the value of an array can only be a string, variable:",
+ cv[i].key, "[", da->value->data[j]->key, "], type:", da->value->data[j]->type);
return -1;
}