summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-04-12 13:05:28 +0200
committerGravatar Nikias Bassen2009-04-12 13:05:28 +0200
commit0915fa88ac895e2ccbe6e34669c8b1bd73a5034e (patch)
treeb3b7dca4e8037ec7d038bbdefbf44bd404b47366
parent780cc38dde3dda7aeccc1d9043669f3493d79ccf (diff)
downloadusbmuxd-0915fa88ac895e2ccbe6e34669c8b1bd73a5034e.tar.gz
usbmuxd-0915fa88ac895e2ccbe6e34669c8b1bd73a5034e.tar.bz2
silence debugging output (error messages remain)
-rw-r--r--iproxy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iproxy.c b/iproxy.c
index 527ebf6..3cb2894 100644
--- a/iproxy.c
+++ b/iproxy.c
@@ -66,7 +66,7 @@ void *run_stoc_loop(void *arg)
break;
}
} else {
- printf("received %d bytes from server\n", recv_len);
+// printf("received %d bytes from server\n", recv_len);
// send to socket
sent = send_buf(cdata->fd, buffer, recv_len);
if (sent < recv_len) {
@@ -78,7 +78,7 @@ void *run_stoc_loop(void *arg)
}
} else {
// sending succeeded, receive from device
- printf("pushed %d bytes to client\n", sent);
+// printf("pushed %d bytes to client\n", sent);
}
}
}
@@ -113,7 +113,7 @@ void *run_ctos_loop(void *arg)
break;
}
} else {
- printf("pulled %d bytes from client\n", recv_len);
+// printf("pulled %d bytes from client\n", recv_len);
// send to local socket
sent = send_buf(cdata->sfd, buffer, recv_len);
if (sent < recv_len) {
@@ -125,7 +125,7 @@ void *run_ctos_loop(void *arg)
}
} else {
// sending succeeded, receive from device
- printf("sent %d bytes to server\n", sent);
+// printf("sent %d bytes to server\n", sent);
}
}
}