diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-22 10:21:09 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-08-22 21:28:13 +0200 |
commit | 5007ad30265caa01d973c1964118a779c6ee68ef (patch) | |
tree | 216abbfe9d876018862758a02ac7a6b7095fb9d3 /source3 | |
parent | 3fc2bc34a54870ad698153746190dff72be3dd8d (diff) | |
download | samba-5007ad30265caa01d973c1964118a779c6ee68ef.tar.gz samba-5007ad30265caa01d973c1964118a779c6ee68ef.tar.bz2 samba-5007ad30265caa01d973c1964118a779c6ee68ef.zip |
s3: Slightly simplify serverid_exists
procid_is_me() works fine in the clustering case as well
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Aug 22 21:28:13 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/serverid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index d567066a16..7e56301bf2 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -236,7 +236,7 @@ bool serverid_exists(const struct server_id *id) struct serverid_key key; TDB_DATA tdbkey; - if (!lp_clustering() && procid_is_me(id)) { + if (procid_is_me(id)) { return true; } |