Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 99321 invoked from network); 17 Sep 2009 05:38:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 05:38:25 -0000 Received: (qmail 20556 invoked by uid 500); 17 Sep 2009 05:38:25 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 20477 invoked by uid 500); 17 Sep 2009 05:38:25 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 20468 invoked by uid 99); 17 Sep 2009 05:38:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 05:38:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 05:38:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9897B23888A6; Thu, 17 Sep 2009 05:38:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r816059 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Date: Thu, 17 Sep 2009 05:38:00 -0000 To: cvs@httpd.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090917053800.9897B23888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; }