s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta().
[ira/wip.git] / source3 / libnet / libnet_samsync.c
index 73d443974397952939eced9444cd5fa6b003b9b9..0c00b8518aef668cb7f89297805c1de4a912e9a6 100644 (file)
@@ -422,9 +422,6 @@ static NTSTATUS libnet_samsync_delta(TALLOC_CTX *mem_ctx,
 
                TALLOC_FREE(delta_enum_array);
 
-               /* Increment sync_context */
-               sync_context += 1;
-
        } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
 
  out: