summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-10-10 16:15:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:23 -0500
commitee0ec181012067b6115ba2654ac7a5a2658bd87a (patch)
tree7e7b3438d403b49af0be60cbb1ede2cc4211f070 /source3
parent4980baf2e1f1de2715b1c0243ea7e79668d87501 (diff)
downloadsamba-ee0ec181012067b6115ba2654ac7a5a2658bd87a.tar.gz
samba-ee0ec181012067b6115ba2654ac7a5a2658bd87a.tar.bz2
samba-ee0ec181012067b6115ba2654ac7a5a2658bd87a.zip
r19230: Doh ! Fix obvious crash bug.....
(This used to be commit e6560270499365ca42517f6a7cf40845ee80edfb)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_dual.c10
1 files changed, 5 insertions, 5 deletions
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);
}
}