httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r816059 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
Date Thu, 17 Sep 2009 05:38:00 GMT
Author: rjung
Date: Thu Sep 17 05:38:00 2009
New Revision: 816059

URL: http://svn.apache.org/viewvc?rev=816059&view=rev
Log:
Another comparison issue due to signedness of char.
Fix analogous to r816005.

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_util.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_util.c?rev=816059&r1=816058&r2=816059&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_util.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Thu Sep 17 05:38:00 2009
@@ -614,7 +614,7 @@
     {
         if (s[i] == APR_ASCII_CR)
             j += 2;
-        else if (s[i] == 0xFF)
+        else if (s[i] == '\xFF')
             ++j;
     }
 



Mime
View raw message