X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fftp.c;h=8dddeed89cba85e1d83db44562c3a9c208edf059;hp=c331d066f2c6569ca2434794367244f3d5a94f17;hb=8aa378bd9e725233b382cdffb6a108bf5752fcd9;hpb=f97c9ac8e771e386cb127840786050ec34dfcc14 diff --git a/src/ftp.c b/src/ftp.c index c331d066..8dddeed8 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -1152,7 +1152,7 @@ Error in server response, closing control connection.\n")); # define BIN_TYPE_FILE 1 #endif /* def __VMS [else] */ - if ((restval && !(con->cmd & DO_LIST)) || count > 0) + if (restval && !(con->cmd & DO_LIST)) { #ifdef __VMS int open_id; @@ -1172,7 +1172,7 @@ Error in server response, closing control connection.\n")); #endif /* def __VMS [else] */ } else if (opt.noclobber || opt.always_rest || opt.timestamping || opt.dirstruct - || opt.output_document) + || opt.output_document || count > 0) { if (opt.unlink && file_exists_p (con->target)) {