From: Howard Chu Date: Sat, 14 Jul 2007 00:12:47 +0000 (+0000) Subject: Fix mirrormode/tool mode X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~329 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f28d9e800ff305c5fd241c21d5e633e2fcd901cd;p=openldap Fix mirrormode/tool mode --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 7b49e6eda7..00e2cfeb04 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3782,6 +3782,9 @@ add_syncrepl( else rc = -1; } + } else { + /* mirrormode still needs to see this flag in tool mode */ + rc = config_sync_shadow( c ) ? -1 : 0; } }