summaryrefslogtreecommitdiff
path: root/source3/lib/serverid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/serverid.c')
-rw-r--r--source3/lib/serverid.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index 1ab0d6958c..1cda03b3a6 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -282,11 +282,12 @@ bool serverids_exist(const struct server_id *ids, int num_ids, bool *results)
TDB_DATA tdbkey;
NTSTATUS status;
- if (ids[i].unique_id == SERVERID_UNIQUE_ID_NOT_TO_VERIFY) {
- results[i] = true;
+ if (!results[i]) {
continue;
}
- if (!results[i]) {
+
+ if (ids[i].unique_id == SERVERID_UNIQUE_ID_NOT_TO_VERIFY) {
+ results[i] = true;
continue;
}