From: pk910 Date: Sun, 23 Oct 2011 19:22:09 +0000 (+0200) Subject: fixed WHOHandler (we should really save the data argument when merging two requests) X-Git-Tag: v5.3~256 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=0f8813f7c36634c2769aa4454bc9c73551562927 fixed WHOHandler (we should really save the data argument when merging two requests) --- diff --git a/src/WHOHandler.c b/src/WHOHandler.c index 759445b..f2e8721 100644 --- a/src/WHOHandler.c +++ b/src/WHOHandler.c @@ -160,6 +160,7 @@ void get_userauth(struct UserNode *user, userauth_callback_t callback, void *dat for(i = 1; i < MAXCALLBACKS; i++) { if(!entry->callback[i]) { entry->callback[i] = callback; + entry->data[i] = data; return; } }