mod_alias: use log_error_write instead of fprintf

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2350 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.21
Stefan Bühler 15 years ago
parent 1efff8bf80
commit f786a82aa8

@ -103,9 +103,8 @@ SETDEFAULTS_FUNC(mod_alias_set_defaults) {
}
/* ok, they have same prefix. check position */
if (a->sorted[j] < a->sorted[k]) {
fprintf(stderr, "url.alias: `%s' will never match as `%s' matched first\n",
key->ptr,
prefix->ptr);
log_error_write(srv, __FILE__, __LINE__, "SBSBS",
"url.alias: `", key, "' will never match as `", prefix, "' matched first");
return HANDLER_ERROR;
}
}

Loading…
Cancel
Save