diff options
author | ewt <devnull@localhost> | 1996-03-15 23:02:44 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-03-15 23:02:44 +0000 |
commit | f753e724e6c1b8d19fbf3b5a90321dbd17abd1a1 (patch) | |
tree | d32c3392349d28620c10265ef3a98cd6ef2695d1 | |
parent | 998c552a7ea39b2d753413b5285469b488a0b254 (diff) | |
download | rpm-f753e724e6c1b8d19fbf3b5a90321dbd17abd1a1.tar.gz rpm-f753e724e6c1b8d19fbf3b5a90321dbd17abd1a1.tar.bz2 rpm-f753e724e6c1b8d19fbf3b5a90321dbd17abd1a1.zip |
ftp's now returns an error code when it times out while getting a
package
CVS patchset: 477
CVS date: 1996/03/15 23:02:44
-rw-r--r-- | ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ int ftpReadData(int sock, int out) { rc = select(sock + 1, &readSet, &emptySet, &emptySet, &timeout); if (rc == 0) { close(sock); - return 0; + return 1; } if (rc < 0) { close(sock); |