From 0915fa88ac895e2ccbe6e34669c8b1bd73a5034e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 12 Apr 2009 13:05:28 +0200 Subject: silence debugging output (error messages remain) --- iproxy.c | 8 ++++---- 1 file 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); } } } -- cgit v1.1-32-gdbae