diff options
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index f1184ea24..c81ad988b 100644 --- a/include/users.h +++ b/include/users.h @@ -75,7 +75,10 @@ class UserResolver : public Resolver userrec* bound_user; int bound_fd; public: - UserResolver(userrec* user, std::string to_resolve, bool forward) : Resolver(to_resolve, forward), bound_user(user) { }; + UserResolver(userrec* user, std::string to_resolve, bool forward) : Resolver(to_resolve, forward), bound_user(user) + { + this->bound_fd = user->fd; + } void OnLookupComplete(const std::string &result); void OnError(ResolverError e); |