From ee0ec181012067b6115ba2654ac7a5a2658bd87a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 10 Oct 2006 16:15:01 +0000 Subject: r19230: Doh ! Fix obvious crash bug..... (This used to be commit e6560270499365ca42517f6a7cf40845ee80edfb) --- source3/nsswitch/winbindd_dual.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/nsswitch/winbindd_dual.c') diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index f4910c9be7..d8215ac90d 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -510,8 +510,8 @@ void winbind_msg_offline(int msg_type, struct process_id src, void *buf, size_t DEBUG(10,("winbind_msg_offline: sending message to pid %u for domain %s.\n", (unsigned int)child->pid, domain->name )); - message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_OFFLINE, domain->name, - strlen(domain->name)+1, False); + message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_OFFLINE, child->domain->name, + strlen(child->domain->name)+1, False); } } @@ -561,10 +561,10 @@ void winbind_msg_online(int msg_type, struct process_id src, void *buf, size_t l we only set it online / offline for that domain. */ DEBUG(10,("winbind_msg_online: sending message to pid %u for domain %s.\n", - (unsigned int)child->pid, domain->name )); + (unsigned int)child->pid, child->domain->name )); - message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_ONLINE, domain->name, - strlen(domain->name)+1, False); + message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_ONLINE, child->domain->name, + strlen(child->domain->name)+1, False); } } -- cgit