]> sjero.net Git - wget/blobdiff - src/ftp-basic.c
[svn] In for loops with empty body, put the ";" on a separate line to silence
[wget] / src / ftp-basic.c
index b992d19cadb59aa7e51f9fcddbadef4490a57598..753566aeb862d5c3b4d6ecb3d18ebbfdb8060746 100644 (file)
@@ -526,7 +526,8 @@ ftp_pasv (int csock, ip_address *addr, int *port)
     }
   /* Parse the request.  */
   s = respline;
-  for (s += 4; *s && !ISDIGIT (*s); s++);
+  for (s += 4; *s && !ISDIGIT (*s); s++)
+    ;
   if (!*s)
     return FTPINVPASV;
   for (i = 0; i < 6; i++)
@@ -594,7 +595,8 @@ ftp_lpsv (int csock, ip_address *addr, int *port)
 
   /* Parse the response.  */
   s = respline;
-  for (s += 4; *s && !ISDIGIT (*s); s++);
+  for (s += 4; *s && !ISDIGIT (*s); s++)
+    ;
   if (!*s)
     return FTPINVPASV;