]> git.sur5r.net Git - openldap/commitdiff
cosmetic changes (the problem was not there)
authorPierangelo Masarati <ando@openldap.org>
Sat, 8 Jan 2005 09:12:35 +0000 (09:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 8 Jan 2005 09:12:35 +0000 (09:12 +0000)
servers/slapd/syncrepl.c

index 59619373ce374228e2394db5a5c1999124d4e97c..909a675557d3119037458b83c81dadf0e2dbd234 100644 (file)
@@ -1457,11 +1457,11 @@ retry_add:;
                        assert( *modlist );
 
                        /* Delete all the old attrs */
-                       for ( i=0; i<dni.attrs; i++) {
-                               mod = ch_malloc( sizeof(Modifications));
+                       for ( i = 0; i < dni.attrs; i++ ) {
+                               mod = ch_malloc( sizeof( Modifications ) );
                                mod->sml_op = LDAP_MOD_DELETE;
                                mod->sml_desc = dni.ads[i];
-                               mod->sml_type =mod->sml_desc->ad_cname;
+                               mod->sml_type = mod->sml_desc->ad_cname;
                                mod->sml_values = NULL;
                                mod->sml_nvalues = NULL;
                                if ( !modhead ) modhead = mod;