Commit cc47882f authored by Paul Querna's avatar Paul Querna
Browse files

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
parent 56f381b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;