tcpproxy: close fd

This commit is contained in:
David du Colombier 2015-06-18 21:31:54 +02:00
parent f75fc7ab04
commit 728d616727
1 changed files with 1 additions and 0 deletions

View File

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