don't crach in error message for auth.require->method
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@687 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.6
parent
51ab2d8a02
commit
730ce9e9dd
|
@ -418,7 +418,7 @@ SETDEFAULTS_FUNC(mod_auth_set_defaults) {
|
|||
} else {
|
||||
if (0 != strcmp(method, "basic") &&
|
||||
0 != strcmp(method, "digest")) {
|
||||
log_error_write(srv, __FILE__, __LINE__, "sssss", "auth.require->method has to be either 'basic' or 'digest'");
|
||||
log_error_write(srv, __FILE__, __LINE__, "s", "auth.require->method has to be either 'basic' or 'digest'");
|
||||
return HANDLER_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue