]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/repl.c
import fix to ITS#4964
[openldap] / servers / slapd / repl.c
index 64d58e1541c04132032f7a00eb01b82a54291591..b1fd6b127ad859f74349e34b1b87fff749e2c13f 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -398,7 +398,7 @@ replog1(
                                                                fprintf( fp, "%s: %s\n", did, type );
                                                                first = 0;
                                                        }
-                                                       vals[0] = a->a_nvals[i];
+                                                       vals[0] = ml->sml_values[i];
                                                        print_vals( fp, &ml->sml_desc->ad_cname, vals );
                                                        ocs = 2;
                                                }