From: Bo Yang Date: Sat, 10 Jan 2009 22:13:32 +0000 (-0800) Subject: Don't set child->requests to NULL in parent after fork X-Git-Tag: samba-3.0.34~19 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=757f76c9af8ab726858603182df709d9924a69e1 Don't set child->requests to NULL in parent after fork (cherry picked from commit a4438df44621ae37c13e5c5064cc3dc5e1371457) --- diff --git a/source/nsswitch/winbindd_dual.c b/source/nsswitch/winbindd_dual.c index 106bb48de97..14a602a4f78 100644 --- a/source/nsswitch/winbindd_dual.c +++ b/source/nsswitch/winbindd_dual.c @@ -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();