From: Howard Chu Date: Fri, 13 Mar 2009 00:15:28 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~703 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=011d1ca8bce00d38af5fbfb3261eddb0be03d4f6;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index be942e67eb..0b9e8d133b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1183,7 +1183,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit ) } /* Don't send ops back to the messenger */ - if ( scook && scook->sid == ss->s_sid ) { + if ( scook && scook->sid && scook->sid == ss->s_sid ) { Debug( LDAP_DEBUG_SYNC, "syncprov_matchops: skipping relayed sid %03x\n", scook->sid, 0, 0 ); continue;