git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34558ae
)
s3: ALWAYS run make test before checkin ....
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Jul 2010 12:59:23 +0000
(14:59 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 4 Jul 2010 12:59:34 +0000
(14:59 +0200)
source3/lib/serverid.c
patch
|
blob
|
history
diff --git
a/source3/lib/serverid.c
b/source3/lib/serverid.c
index e9c72961e6d1a209e0973ab18e259cac21374173..dc4834b8dadcc9d506c53cf6a9dc981618bc77c2 100644
(file)
--- a/
source3/lib/serverid.c
+++ b/
source3/lib/serverid.c
@@
-187,8
+187,8
@@
static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv)
* Use memcmp, not direct compare. data.dptr might not be
* aligned.
*/
- state->exists =
-
(memcmp(&unique_id, data.dptr,
sizeof(unique_id)) == 0);
+ state->exists =
(memcmp(&state->id->unique_id, data.dptr,
+
sizeof(unique_id)) == 0);
return 0;
}