summaryrefslogtreecommitdiff
path: root/resolver.c
diff options
context:
space:
mode:
authorchris <>2003-11-06 21:43:49 +0000
committerchris <>2003-11-06 21:43:49 +0000
commite80ab09fd720e8a81bb20366a17c7f8ae74b0a96 (patch)
tree51cbaee649ad70e51bcf8f2ee59e2356082ff7f9 /resolver.c
parentfbef5fdbc041d865daff316f51d8bf8d1e414116 (diff)
downloadiftop-e80ab09fd720e8a81bb20366a17c7f8ae74b0a96.zip
""
Diffstat (limited to 'resolver.c')
-rw-r--r--resolver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/resolver.c b/resolver.c
index 43539dc..d051b25 100644
--- a/resolver.c
+++ b/resolver.c
@@ -332,7 +332,6 @@ char *do_resolve(struct in_addr *addr) {
return NULL;
default:
-fprintf(stderr, "New child is %d, we have fd %d, he has fd %d\n", workerinfo->child, p[0], p[1]);
close(p[1]);
}
}
@@ -341,7 +340,6 @@ fprintf(stderr, "New child is %d, we have fd %d, he has fd %d\n", workerinfo->ch
if (write(workerinfo->fd, addr, sizeof *addr) != sizeof *addr
|| read(workerinfo->fd, name, NAMESIZE) != NAMESIZE) {
/* Something went wrong. Just kill the child and get on with it. */
-fprintf(stderr, "Protocol error (%s) talking to child %d\n", strerror(errno), workerinfo->child);
kill(workerinfo->child, SIGKILL);
wait();
close(workerinfo->fd);