diff options
author | Stefan Bühler <stbuehler@web.de> | 2008-10-16 12:42:15 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2008-10-16 12:42:15 +0000 |
commit | f786a82aa8b83d4f5f05f3d5b62dbf67b450cd24 (patch) | |
tree | f603236735bebceb58be4ea8f32188e2819f43c3 /src/mod_alias.c | |
parent | 1efff8bf807e4b380b731eebaa4a390b972bcc57 (diff) | |
download | lighttpd-git-f786a82aa8b83d4f5f05f3d5b62dbf67b450cd24.tar.gz |
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
Diffstat (limited to 'src/mod_alias.c')
-rw-r--r-- | src/mod_alias.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mod_alias.c b/src/mod_alias.c index a7d9b7e8..8a545471 100644 --- a/src/mod_alias.c +++ b/src/mod_alias.c @@ -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; } } |