Don't set child->requests to NULL in parent after fork
authorBo Yang <boyang@novell.com>
Sat, 10 Jan 2009 22:13:32 +0000 (14:13 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 10 Jan 2009 22:13:32 +0000 (14:13 -0800)
source/nsswitch/winbindd_dual.c

index 106bb48de97344ee1a0bab25530363dc5ca566d6..14a602a4f789ff9393637a642a6fef0bbeefdeee 100644 (file)
@@ -942,7 +942,6 @@ static BOOL fork_domain_child(struct winbindd_child *child)
                DLIST_ADD(children, child);
                child->event.fd = fdpair[1];
                child->event.flags = 0;
-               child->requests = NULL;
                add_fd_event(&child->event);
                /* We're ok with online/offline messages now. */
                message_unblock();