You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/10/09 20:15:19 UTC

svn commit: r583250 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c

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;