diff options
author | Arno Töll <arno@debian.org> | 2013-02-28 21:57:03 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2013-02-28 21:57:03 +0100 |
commit | 1697a801fb875664f7b269260511f5f4126a5e83 (patch) | |
tree | 89da4a9495e2ba6d6cb4e4dbae4184c7238a985a /modules/mappers/mod_speling.c | |
parent | 5c4fba3ffbe778bdffe10a93d04821579601a020 (diff) | |
download | apache2-1697a801fb875664f7b269260511f5f4126a5e83.tar.gz |
Imported Upstream version 2.4.4upstream/2.4.4
Diffstat (limited to 'modules/mappers/mod_speling.c')
-rw-r--r-- | modules/mappers/mod_speling.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index b1c75d01..c520aa1c 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -396,8 +396,9 @@ static int check_speling(request_rec *r) ap_log_rerror(APLOG_MARK, APLOG_INFO, APR_SUCCESS, r, ref ? "Fixed spelling: %s to %s from %s" - : "Fixed spelling: %s to %s", - r->uri, nuri, ref); + : "Fixed spelling: %s to %s%s", + r->uri, nuri, + (ref ? ref : "")); return HTTP_MOVED_PERMANENTLY; } @@ -504,8 +505,9 @@ static int check_speling(request_rec *r) ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, ref ? "Spelling fix: %s: %d candidates from %s" - : "Spelling fix: %s: %d candidates", - r->uri, candidates->nelts, ref); + : "Spelling fix: %s: %d candidates%s", + r->uri, candidates->nelts, + (ref ? ref : "")); return HTTP_MULTIPLE_CHOICES; } |