]> granicus.if.org Git - curl/commitdiff
ftp_state_use_port: minor code indent fix
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Sep 2011 20:46:06 +0000 (22:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Sep 2011 20:46:06 +0000 (22:46 +0200)
lib/ftp.c

index 5e418486aac1a318734969552ca057fc9d2c7160..20b70ce3ed0fbde1300fd361baf92f9fc98a0be8 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -805,7 +805,8 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
         host = addr;
       else
         host = hbuf; /* use the hbuf for host name */
-    }else
+    }
+    else
       /* there was only a port(-range) given, default the host */
       host = NULL;
   } /* data->set.ftpport */