summaryrefslogtreecommitdiffstats
path: root/server/util_debug.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-08-16 20:07:06 +0200
committerJeff Trawick <trawick@apache.org>2001-08-16 20:07:06 +0200
commit3fb380d067f710c4fc75938448bbf52375077073 (patch)
tree1e4aa43b53b97f7e4d45380ae125c79b4ef2693e /server/util_debug.c
parent A bit overboard - this registered window message only needs to be (diff)
downloadapache2-3fb380d067f710c4fc75938448bbf52375077073.tar.xz
apache2-3fb380d067f710c4fc75938448bbf52375077073.zip
the 2nd parm to strstr() doesn't lose const-ness, unlike the 1st parm;
thus, AP_DEBUG flavor of strstr() should declare 2nd parm as const char *, not char *; this eliminates a warning in mod_ssl-land git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_debug.c')
-rw-r--r--server/util_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_debug.c b/server/util_debug.c
index f41f697d2d..46e895d24f 100644
--- a/server/util_debug.c
+++ b/server/util_debug.c
@@ -85,7 +85,7 @@ const char *ap_strrchr_c(const char *s, int c)
{
return strrchr(s,c);
}
-char *ap_strstr(char *s, char *c)
+char *ap_strstr(char *s, const char *c)
{
return strstr(s,c);
}