summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Nisarg Jhaveri2021-02-17 17:31:54 +0530
committerGravatar Nisarg Jhaveri2021-02-17 17:31:54 +0530
commit4837527745d98b9314eec1a250e2e13ce1ec3031 (patch)
tree0f2749367cde6b98e370bbd5231578f199c81002 /common
parent5ef9f5968012906b329c3de5fd5a5f9c5345dfa8 (diff)
downloadlibimobiledevice-4837527745d98b9314eec1a250e2e13ce1ec3031.tar.gz
libimobiledevice-4837527745d98b9314eec1a250e2e13ce1ec3031.tar.bz2
Remove redundent `select` call from idevicedebugserverproxy.c
- Turns out `socket_receive` anyway internally calls `select` again. Use `socket_receive_timeout` instead. - Remove logging for timeout in socket.c as well, it is not really an error condition
Diffstat (limited to 'common')
-rw-r--r--common/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/socket.c b/common/socket.c
index 354e6a4..99a96b1 100644
--- a/common/socket.c
+++ b/common/socket.c
@@ -1084,8 +1084,6 @@ int socket_check_fd(int fd, fd_mode fdm, unsigned int timeout)
return -1;
}
} else if (sret == 0) {
- if (verbose >= 2)
- fprintf(stderr, "%s: timeout\n", __func__);
return -ETIMEDOUT;
}
} while (eagain);