about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--accept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accept.c b/accept.c
index 3415e47..c3092c7 100644
--- a/accept.c
+++ b/accept.c
@@ -13,6 +13,7 @@ mog_accept_init(int fd, struct mog_svc *svc,
 
         ac->post_accept_fn = fn;
         ac->svc = svc;
+        ac->addrinfo = a;
         memset(&ac->thrpool, 0, sizeof(struct mog_thrpool));
 
         return mfd;