diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-17 12:45:33 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-17 20:07:07 +0200 |
commit | 6a58c5fc648088c7c8930a0e653c2f1b01a90b13 (patch) | |
tree | 4bfaa1e197f7304bdbc7550e7369eb1e6db89753 /source3/lib | |
parent | 8149623ad4e07f03b92832972c6d36ada92cc810 (diff) | |
download | samba-6a58c5fc648088c7c8930a0e653c2f1b01a90b13.tar.gz samba-6a58c5fc648088c7c8930a0e653c2f1b01a90b13.tar.bz2 samba-6a58c5fc648088c7c8930a0e653c2f1b01a90b13.zip |
s3:lib: implement serverid_equal() as macro of server_id_equal()
metze
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/serverid.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index 3068d77a84..3c5402e3f3 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -458,24 +458,3 @@ uint64_t serverid_get_random_unique_id(void) return unique_id; } - -bool serverid_equal(const struct server_id *p1, const struct server_id *p2) -{ - if (p1->pid != p2->pid) { - return false; - } - - if (p1->task_id != p2->task_id) { - return false; - } - - if (p1->vnn != p2->vnn) { - return false; - } - - if (p1->unique_id != p2->unique_id) { - return false; - } - - return true; -} |