summaryrefslogtreecommitdiff
path: root/modules/mappers/mod_speling.c
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2013-02-28 21:57:03 +0100
committerArno Töll <arno@debian.org>2013-02-28 21:57:03 +0100
commit1697a801fb875664f7b269260511f5f4126a5e83 (patch)
tree89da4a9495e2ba6d6cb4e4dbae4184c7238a985a /modules/mappers/mod_speling.c
parent5c4fba3ffbe778bdffe10a93d04821579601a020 (diff)
downloadapache2-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.c10
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;
}