summaryrefslogtreecommitdiff
path: root/uring.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-05 22:04:01 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-05 22:04:01 +0200
commit8e301216143cb96d39a941a9c5fcb90319ef53c7 (patch)
tree066ea8b408ff49e20e2be2303364a35ff1731d15 /uring.c
parenta683051b05930d1dd2766b98494bbd124817a6dd (diff)
Add enough functionality to actually be able to proxy a connection
Diffstat (limited to 'uring.c')
-rw-r--r--uring.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/uring.c b/uring.c
index 96e3a67..770b8c5 100644
--- a/uring.c
+++ b/uring.c
@@ -88,9 +88,6 @@ uring_task_get(struct cfg *cfg, struct uring_task *task)
void
uring_task_set_fd(struct uring_task *task, int fd)
{
- if (task->fd >= 0)
- error("Leaking fd %i\n", task->fd);
-
task->fd = fd;
}