]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 20 Nov 2009 22:52:47 +0000 (22:52 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 20 Nov 2009 22:52:47 +0000 (22:52 +0000)
servers/slapd/syncrepl.c

index 9da5506e4463c8771480471328790d1716dd197c..0a2d212e3c67ae94d36a2c47b65b1da683c80f7c 100644 (file)
@@ -897,7 +897,7 @@ do_syncrep2(
                                                if ( i == si->si_cookieState->cs_pnum ) {
                                                        value_add( &si->si_cookieState->cs_pvals, syncCookie.ctxcsn );
                                                        si->si_cookieState->cs_pnum++;
-                                                       ch_realloc( si->si_cookieState->cs_psids, si->si_cookieState->cs_num * sizeof(int));
+                                                       si->si_cookieState->cs_psids = ch_realloc( si->si_cookieState->cs_psids, si->si_cookieState->cs_num * sizeof(int));
                                                        si->si_cookieState->cs_psids[i] = sid;
                                                }
                                                ldap_pvt_thread_mutex_unlock( &si->si_cookieState->cs_pmutex );