Last change
on this file since 08cf024 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
457 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | --- netkit-ftp-0.17-orig/ftp/ftp.c 2007-08-06 23:32:49.000000000 +0200 |
---|
| 2 | +++ netkit-ftp-0.17/ftp/ftp.c 2007-08-06 23:31:06.000000000 +0200 |
---|
| 3 | @@ -483,8 +483,10 @@ getreply(int expecteof) |
---|
| 4 | return (0); |
---|
| 5 | } |
---|
| 6 | lostpeer(0); |
---|
| 7 | - fclose(cout); |
---|
| 8 | - cout = NULL; |
---|
| 9 | + if (cout) { |
---|
| 10 | + fclose(cout); |
---|
| 11 | + cout = NULL; |
---|
| 12 | + } |
---|
| 13 | if (verbose) { |
---|
| 14 | printf("421 Service not available, remote server has closed connection\n"); |
---|
| 15 | (void) fflush(stdout); |
---|
| 16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.