httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r179704 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c
Date Fri, 03 Jun 2005 02:44:39 GMT
Author: pquerna
Date: Thu Jun  2 19:44:39 2005
New Revision: 179704

URL: http://svn.apache.org/viewcvs?rev=179704&view=rev
Log:
mod_proxy_ftp: Fix comparison of char* to '\0'

PR: 34512

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c?rev=179704&r1=179703&r2=179704&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c Thu Jun  2 19:44:39 2005
@@ -90,7 +90,7 @@
     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;



Mime
View raw message