1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix indentation in ftp.c (getftp)

This commit is contained in:
Darshit Shah 2014-12-04 19:08:36 +05:30
parent aaefe8bc83
commit e6713474c0
2 changed files with 65 additions and 62 deletions

View File

@ -1,6 +1,7 @@
2014-12-04 Darshit Shah <darnir@gmail.com> 2014-12-04 Darshit Shah <darnir@gmail.com>
* ftp.c (getftp): Remove a call to assert(1) and replace with error message * ftp.c (getftp): Remove a call to assert(1) and replace with error message
Also fix indentation
2014-12-04 Darshit Shah <darnir@gmail.com> 2014-12-04 Darshit Shah <darnir@gmail.com>

View File

@ -733,7 +733,9 @@ Error in server response, closing control connection.\n"));
if (!opt.server_response) if (!opt.server_response)
logprintf (LOG_VERBOSE, "==> CWD (%d) %s ... ", cwd_count, logprintf (LOG_VERBOSE, "==> CWD (%d) %s ... ", cwd_count,
quotearg_style (escape_quoting_style, target)); quotearg_style (escape_quoting_style, target));
err = ftp_cwd (csock, targ); err = ftp_cwd (csock, targ);
/* FTPRERR, WRITEFAILED, FTPNSFOD */ /* FTPRERR, WRITEFAILED, FTPNSFOD */
switch (err) switch (err)
{ {
@ -763,13 +765,13 @@ Error in server response, closing control connection.\n"));
default: default:
abort (); abort ();
} }
if (!opt.server_response) if (!opt.server_response)
logputs (LOG_VERBOSE, _("done.\n")); logputs (LOG_VERBOSE, _("done.\n"));
} /* for */ } /* for */
/* 2004-09-20 SMS. */ /* 2004-09-20 SMS. */
/* End of deviant indenting. */
} /* else */ } /* else */
} }