tcpproxy: close fd

This commit is contained in:
David du Colombier 2015-06-18 21:31:54 +02:00
parent f75fc7ab04
commit 728d616727

View File

@ -57,6 +57,7 @@ taskmain(int argc, char **argv)
fprintf(stderr, "connection from %s:%d\n", remote, rport);
taskcreate(proxytask, (void*)(uintptr_t)cfd, STACK);
}
close(fd);
}
void