]> git.sur5r.net Git - openldap/commitdiff
ITS#4832 fix unint'd var
authorHoward Chu <hyc@openldap.org>
Wed, 7 Feb 2007 00:41:15 +0000 (00:41 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 7 Feb 2007 00:41:15 +0000 (00:41 +0000)
servers/slapd/syncrepl.c

index 29454e809041e771a1dd3f6acdb325f39382f4fd..cb14169c8feb98950aafbb053fea0e118a9cd0aa 100644 (file)
@@ -799,6 +799,7 @@ do_syncrep2(
                                }
                                if ( !syncCookie_req.ctxcsn ) {
                                        match = -1;
+                                       m = 0;
                                } else if ( !syncCookie.ctxcsn ) {
                                        match = 1;
                                } else {
@@ -945,6 +946,7 @@ do_syncrep2(
 
                                        if ( !syncCookie_req.ctxcsn ) {
                                                match = -1;
+                                               m = 0;
                                        } else if ( !syncCookie.ctxcsn ) {
                                                match = 1;
                                        } else {