summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-17 13:12:12 +0200
committerGravatar Nikias Bassen2013-09-17 13:12:12 +0200
commit4d717ca60d03eaaf34843015e78eb1cf49fecbbb (patch)
tree583b6f7cb2a625ef1d9928592a9579f5852c7b4a /src
parentfff7741c413711232e4d731d001bc1497f7e3273 (diff)
downloadlibusbmuxd-4d717ca60d03eaaf34843015e78eb1cf49fecbbb.tar.gz
libusbmuxd-4d717ca60d03eaaf34843015e78eb1cf49fecbbb.tar.bz2
improve speed my lowering timeout when getting device list
Diffstat (limited to 'src')
-rw-r--r--src/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 64b3725..6883cee 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -757,7 +757,7 @@ retry:
// receive device list
while (1) {
- if (receive_packet(sfd, &hdr, &payload, 1000) > 0) {
+ if (receive_packet(sfd, &hdr, &payload, 100) > 0) {
if (hdr.message == MESSAGE_DEVICE_ADD) {
dev = payload;
usbmuxd_device_info_t *devinfo = (usbmuxd_device_info_t*)malloc(sizeof(usbmuxd_device_info_t));