From 6f62d6bb3480b50b71d8db9ecc6814b5b5e74a8b Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Mon, 21 Dec 2015 07:36:44 -0800 Subject: Removed straggler debug prints --- netcon/Intercept.c | 2 +- netcon/RPC.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'netcon') diff --git a/netcon/Intercept.c b/netcon/Intercept.c index 8e5391ef..5f6e37cb 100644 --- a/netcon/Intercept.c +++ b/netcon/Intercept.c @@ -358,7 +358,7 @@ int connect(CONNECT_SIG) || connaddr->sin_family == AF_NETLINK || connaddr->sin_family == AF_UNIX)) { int err = realconnect(__fd, __addr, __len); - perror("connect():"); + //perror("connect():"); return err; } diff --git a/netcon/RPC.c b/netcon/RPC.c index 5e7d3397..2b396183 100644 --- a/netcon/RPC.c +++ b/netcon/RPC.c @@ -55,10 +55,9 @@ int get_new_fd(int sock) int newfd; ssize_t size = sock_fd_read(sock, buf, sizeof(buf), &newfd); if(size > 0){ - fprintf(stderr, "get_new_fd(): RX: fd = (%d) over (%d)\n", newfd, sock); return newfd; } - fprintf(stderr, "get_new_fd(): ERROR: unable to read fd over (%d)\n", sock); + fprintf(stderr, "get_new_fd(): Error, unable to read fd over (%d)\n", sock); return -1; } -- cgit v1.2.3