fixed WHOHandler (we should really save the data argument when merging two requests)
authorpk910 <philipp@zoelle1.de>
Sun, 23 Oct 2011 19:22:09 +0000 (21:22 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 23 Oct 2011 19:22:09 +0000 (21:22 +0200)
src/WHOHandler.c

index 759445bf04e37d2fcff02047d23a4ae55bdd874e..f2e872190f09b8d89b953453e9668a3811e95fb6 100644 (file)
@@ -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;
                 }
             }