version 1.126, 2005/09/13 23:40:07 |
version 1.127, 2005/11/12 18:38:15 |
|
|
if (response() < 0) |
if (response() < 0) |
goto next; |
goto next; |
if ((bp = allocbuf(&buffer, fd, 2048)) == NULL) { |
if ((bp = allocbuf(&buffer, fd, 2048)) == NULL) { |
next: (void) close(fd); |
next: if (fd != -1) { |
|
(void) close(fd); |
|
fd = -1; |
|
} |
continue; |
continue; |
} |
} |
if (showprogress) |
if (showprogress) |
|
|
if (showprogress) |
if (showprogress) |
stop_progress_meter(); |
stop_progress_meter(); |
|
|
if (close(fd) < 0 && !haderr) |
if (fd != -1) { |
haderr = errno; |
if (close(fd) < 0 && !haderr) |
|
haderr = errno; |
|
fd = -1; |
|
} |
if (!haderr) |
if (!haderr) |
(void) atomicio(vwrite, remout, "", 1); |
(void) atomicio(vwrite, remout, "", 1); |
else |
else |