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-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Xuefer 17 years ago
parent 51ab2d8a02
commit 730ce9e9dd
  1. 2
      src/mod_auth.c

@ -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…
Cancel
Save