From cf10bfaefae93dab29965a5084940f2f5fc9ba09 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 3 Jun 2005 02:44:39 +0000 Subject: [PATCH] mod_proxy_ftp: Fix comparison of char* to '\0' PR: 34512 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179704 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c index a6737cd2bb..2d53dea13b 100644 --- a/modules/proxy/mod_proxy_ftp.c +++ b/modules/proxy/mod_proxy_ftp.c @@ -90,7 +90,7 @@ static int ftp_check_globbingchars(const char *path) for ( ; *path; ++path) { if (*path == '\\') ++path; - if (path != '\0' && strchr(FTP_GLOBBING_CHARS, *path) != NULL) + if (*path != '\0' && strchr(FTP_GLOBBING_CHARS, *path) != NULL) return TRUE; } return FALSE; -- 2.40.0