summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
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
commite6560270499365ca42517f6a7cf40845ee80edfb (patch)
treed5091432f667673196ab633ec5974df78259fe4e /source/nsswitch
parent99e54a213ad3561ea6e8dc44c483847c18c5681e (diff)
downloadsamba-e6560270499365ca42517f6a7cf40845ee80edfb.tar.gz
samba-e6560270499365ca42517f6a7cf40845ee80edfb.tar.xz
samba-e6560270499365ca42517f6a7cf40845ee80edfb.zip
r19230: Doh ! Fix obvious crash bug.....
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_dual.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/nsswitch/winbindd_dual.c b/source/nsswitch/winbindd_dual.c
index f4910c9be79..d8215ac90db 100644
--- a/source/nsswitch/winbindd_dual.c
+++ b/source/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);
}
}