httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r583250 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
Date Tue, 09 Oct 2007 18:15:19 GMT
Author: wrowe
Date: Tue Oct  9 11:15:19 2007
New Revision: 583250

URL: http://svn.apache.org/viewvc?rev=583250&view=rev
Log:
With two explicit pieces of logic, we lose any need for the sep value.

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=583250&r1=583249&r2=583250&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_util.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Tue Oct  9 11:15:19 2007
@@ -35,7 +35,7 @@
 int ftp_eprt_decode(apr_int32_t *family, char **addr, apr_port_t *port,
                     char *arg)
 {
-    char *argv, delim = *arg, sep = '\0';
+    char *argv, delim = *arg;
 
     if (delim <= ' ' || delim > 126)
         return FTP_REPLY_SYNTAX_ERROR;



Mime
View raw message