diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-12 13:03:29 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-12 13:03:29 +0000 |
commit | 349af89931a79f2e654523a0a51105e8f8e52de1 (patch) | |
tree | 3f35808619d78c2946e3c301cd556eb9e87d480c | |
parent | f231801ac16e75e9b81d7e54fe56944a054ec97b (diff) | |
download | drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.gz drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.bz2 drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.xz drakx-349af89931a79f2e654523a0a51105e8f8e52de1.zip |
do not close un unbound socket!!
-rw-r--r-- | mdk-stage1/probing.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index bddeb438d..46bc79acc 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -438,7 +438,6 @@ int net_device_available(char * device) { s = socket(AF_INET, SOCK_DGRAM, 0); if (s < 0) { - close(s); log_perror(device); return 0; } |