diff options
author | chris <> | 2003-11-06 21:43:49 +0000 |
---|---|---|
committer | chris <> | 2003-11-06 21:43:49 +0000 |
commit | e80ab09fd720e8a81bb20366a17c7f8ae74b0a96 (patch) | |
tree | 51cbaee649ad70e51bcf8f2ee59e2356082ff7f9 /resolver.c | |
parent | fbef5fdbc041d865daff316f51d8bf8d1e414116 (diff) | |
download | iftop-e80ab09fd720e8a81bb20366a17c7f8ae74b0a96.zip |
""
Diffstat (limited to 'resolver.c')
-rw-r--r-- | resolver.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |