summaryrefslogtreecommitdiffhomepage
path: root/src/child.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/child.c')
-rw-r--r--src/child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/child.c b/src/child.c
index 3ae3d82..8bd713d 100644
--- a/src/child.c
+++ b/src/child.c
@@ -50,7 +50,7 @@ struct child {
static void* child_thread(void* data)
{
struct child *c = data;
- handle_connection (c->client.fd);
+ handle_connection (c->client.fd, &c->client.addr);
c->done = 1;
return NULL;
}