diff options
author | Nikias Bassen | 2009-06-20 04:30:44 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-06-20 04:30:44 +0200 |
commit | 23a07f6bc7e14b325f7b3ea29ebe0eeb1d5635b4 (patch) | |
tree | 82717a541547fbb1130507f604fc4b3f67f4b9ad | |
parent | 94d700159d010176a57640d6f59476aaf43875fc (diff) | |
download | usbmuxd-23a07f6bc7e14b325f7b3ea29ebe0eeb1d5635b4.tar.gz usbmuxd-23a07f6bc7e14b325f7b3ea29ebe0eeb1d5635b4.tar.bz2 |
removed debugging output
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -847,23 +847,20 @@ static void *usbmuxd_client_init_thread(void *arg) } pthread_mutex_unlock(&cur_dev->mutex); - // wait for the initial handshake (SYN->SYN+ACK->ACKto complete + // wait for the initial handshake (SYN->SYN+ACK->ACK) to complete) struct timespec ts; ts.tv_sec = 0; ts.tv_nsec = 100000000; i = 0; - printf("waiting for handshake to complete...\n"); while (i < 10000) { if (usbmux_is_connected(cdata->muxclient)) { - printf("handshake done\n"); break; } nanosleep(&ts, NULL); i+=100; } if (!usbmux_is_connected(cdata->muxclient)) { - printf("handshake failed\n"); usbmuxd_send_result(cdata->socket, c_req->header.tag, -ENOTCONN); goto leave; } |