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
This commit is contained in:
parent
c92496720d
commit
df87b3ef98
1
NEWS
1
NEWS
|
@ -17,6 +17,7 @@ NEWS
|
|||
* print backtrace in assert logging with libunwind
|
||||
* major refactoring of internal buffer/chunk handling
|
||||
* [mod_auth] use crypt_r instead of crypt if available
|
||||
* fix error message for T_CONFIG_ARRAY config values if an entry value is not a string
|
||||
|
||||
- 1.4.35 - 2014-03-12
|
||||
* [network/ssl] fix build error if TLSEXT is disabled
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue