diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-13 02:10:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-13 09:56:31 +0000 |
commit | 5c65fa6a053691ffee983b61298f3863b660b408 (patch) | |
tree | 397e2301f6a4c1959eee006b5fe0c28803fe5d6e | |
parent | 22a718de33fef78bab33bc00e52cd230c22e1945 (diff) | |
download | cmogstored-5c65fa6a053691ffee983b61298f3863b660b408.tar.gz |
This will allow us to properly report the listen address the client connected to.
-rw-r--r-- | accept.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |