From 5c65fa6a053691ffee983b61298f3863b660b408 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 13 Jul 2013 02:10:51 +0000 Subject: set addrinfo field for "struct mog_accept" This will allow us to properly report the listen address the client connected to. --- accept.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-24-ge0c7