]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 13 Mar 2009 00:15:28 +0000 (00:15 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Mar 2009 00:15:28 +0000 (00:15 +0000)
servers/slapd/overlays/syncprov.c

index be942e67eb6ffd24148f55eded143e165765677b..0b9e8d133ba226cbd22c0aa157d7a3b29f232756 100644 (file)
@@ -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;