diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 16:08:03 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-04 16:41:14 +0200 |
commit | b01958b0bdb1a7115b82fc7029d8ffe630614cff (patch) | |
tree | 46b9b2733aea40f82a7f1bf26e953e9d9d071c3e /source3/nmbd | |
parent | ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf (diff) | |
download | samba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.tar.gz samba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.tar.bz2 samba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.zip |
s3: Remove serverid_[de]register_self
This removes some deep references to procid_self()
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index fa106a9499..f211d6c671 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -84,7 +84,7 @@ static void terminate(void) kill_async_dns_child(); gencache_stabilize(); - serverid_deregister_self(); + serverid_deregister(procid_self()); pidfile_unlink(); @@ -933,7 +933,8 @@ static bool open_sockets(bool isdaemon, int port) /* get broadcast messages */ - if (!serverid_register_self(FLAG_MSG_GENERAL|FLAG_MSG_DBWRAP)) { + if (!serverid_register(procid_self(), + FLAG_MSG_GENERAL|FLAG_MSG_DBWRAP)) { DEBUG(1, ("Could not register myself in serverid.tdb\n")); exit(1); } |