s3: Slightly simplify serverid_exists
authorVolker Lendecke <vl@samba.org>
Mon, 22 Aug 2011 08:21:09 +0000 (10:21 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 22 Aug 2011 19:28:13 +0000 (21:28 +0200)
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

source3/lib/serverid.c

index d567066a1646e7eecdd87cf3d1dc8dc7837832e0..7e56301bf2ba34d87b92d037c08905d8601b8f89 100644 (file)
@@ -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;
        }