mirror of
https://github.com/0intro/libtask
synced 2024-12-22 19:16:55 +03:00
tcpproxy: close fd
This commit is contained in:
parent
f75fc7ab04
commit
728d616727
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user