Skip to content

Commit cc47882

Browse files
committed
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
1 parent 56f381b commit cc47882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/proxy/mod_proxy_ftp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int ftp_check_globbingchars(const char *path)
9090
for ( ; *path; ++path) {
9191
if (*path == '\\')
9292
++path;
93-
if (path != '\0' && strchr(FTP_GLOBBING_CHARS, *path) != NULL)
93+
if (*path != '\0' && strchr(FTP_GLOBBING_CHARS, *path) != NULL)
9494
return TRUE;
9595
}
9696
return FALSE;

0 commit comments

Comments
 (0)