replmd: Move logic into new replmd_should_apply_isDeleted() function
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 20 Nov 2018 02:54:31 +0000 (15:54 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Nov 2018 04:00:22 +0000 (05:00 +0100)
commit9d5af87e66c4e936ddd06607cc98f20c24e035b1
treef1df276f8f96771d4a2e2111b8cc38eee1f064d5
parentb9c5417b523c4c53cb275c12ec84bbc849705bec
replmd: Move logic into new replmd_should_apply_isDeleted() function

It's easier to follow the logic involved here when it's split out into a
separate function.

This patch should not alter the existing logic/functionality.

Note the 'else' case is somewhat redundant, but it avoids excessive
whitespace changes to the function. It'll be tidied up in the next
patch.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c