summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
Diffstat (limited to 'netcon')
-rw-r--r--netcon/Intercept.c2
-rw-r--r--netcon/RPC.c3
2 files changed, 2 insertions, 3 deletions
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;
}