Fix parsing of fastcgi.debug option on big-endian (fixes #2230)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2733 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
a61e0bdde0
commit
d58fea0c7a
|
@ -302,7 +302,7 @@ typedef struct {
|
|||
|
||||
array *ext_mapping;
|
||||
|
||||
int debug;
|
||||
unsigned int debug;
|
||||
} plugin_config;
|
||||
|
||||
typedef struct {
|
||||
|
@ -1166,7 +1166,7 @@ SETDEFAULTS_FUNC(mod_fastcgi_set_defaults) {
|
|||
|
||||
config_values_t cv[] = {
|
||||
{ "fastcgi.server", NULL, T_CONFIG_LOCAL, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
|
||||
{ "fastcgi.debug", NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 1 */
|
||||
{ "fastcgi.debug", NULL, T_CONFIG_INT , T_CONFIG_SCOPE_CONNECTION }, /* 1 */
|
||||
{ "fastcgi.map-extensions", NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION }, /* 2 */
|
||||
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue