mirror of
https://github.com/mirror/wget.git
synced 2025-01-21 09:41:06 +08:00
[svn] iInitialize err in getftp to suppress gcc warning.
This commit is contained in:
parent
2e48de2b01
commit
76661bdc29
@ -1,3 +1,7 @@
|
|||||||
|
2005-02-25 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* ftp.c (getftp): Initialize err to suppress compiler warning.
|
||||||
|
|
||||||
2005-02-24 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-02-24 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* ftp.c (ftp_expected_bytes): Fix bug that caused infloop because
|
* ftp.c (ftp_expected_bytes): Fix bug that caused infloop because
|
||||||
|
@ -227,7 +227,7 @@ static uerr_t
|
|||||||
getftp (struct url *u, wgint *len, wgint restval, ccon *con)
|
getftp (struct url *u, wgint *len, wgint restval, ccon *con)
|
||||||
{
|
{
|
||||||
int csock, dtsock, local_sock, res;
|
int csock, dtsock, local_sock, res;
|
||||||
uerr_t err;
|
uerr_t err = RETROK; /* appease the compiler */
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
char *user, *passwd, *respline;
|
char *user, *passwd, *respline;
|
||||||
char *tms, *tmrate;
|
char *tms, *tmrate;
|
||||||
|
Loading…
Reference in New Issue
Block a user