]> git.sur5r.net Git - openldap/commitdiff
Fix mirrormode/tool mode
authorHoward Chu <hyc@openldap.org>
Sat, 14 Jul 2007 00:12:47 +0000 (00:12 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 14 Jul 2007 00:12:47 +0000 (00:12 +0000)
servers/slapd/syncrepl.c

index 7b49e6eda7395da0bb4ba8bce6692273e1a9656a..00e2cfeb044f9baa16484aa6631ccbf83ec3e959 100644 (file)
@@ -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;
                }
        }