summaryrefslogtreecommitdiffstats
path: root/source/nmbd/asyncdns.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-09-30 17:13:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:48 -0500
commit939c3cb5d78e3a2236209b296aa8aba8bdce32d3 (patch)
tree5f3a22ba40783ce548328a44b9262a451f33ad27 /source/nmbd/asyncdns.c
parentf049fd463b087ccf4873b03675cca5eb8576af2e (diff)
downloadsamba-939c3cb5d78e3a2236209b296aa8aba8bdce32d3.tar.gz
samba-939c3cb5d78e3a2236209b296aa8aba8bdce32d3.tar.xz
samba-939c3cb5d78e3a2236209b296aa8aba8bdce32d3.zip
r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
Diffstat (limited to 'source/nmbd/asyncdns.c')
-rw-r--r--source/nmbd/asyncdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/asyncdns.c b/source/nmbd/asyncdns.c
index 653cb97fbb0..4db54ea198c 100644
--- a/source/nmbd/asyncdns.c
+++ b/source/nmbd/asyncdns.c
@@ -201,7 +201,7 @@ void run_dns_queue(void)
/* Allow SIGTERM to kill us. */
BlockSignals(False, SIGTERM);
- if (!process_exists(child_pid)) {
+ if (!process_exists_by_pid(child_pid)) {
close(fd_in);
start_async_dns();
}