]> git.sur5r.net Git - openldap/commitdiff
More for ITS#3854
authorHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 03:35:42 +0000 (03:35 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 03:35:42 +0000 (03:35 +0000)
servers/slapd/overlays/accesslog.c

index 49d61b4e00cd3a7c5783c3b78dbc00fc8bd7849c..0470d0d1bd228676f767d957052d1275599927b0 100644 (file)
@@ -844,7 +844,7 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
                                vals[i].bv_len = m->sml_desc->ad_cname.bv_len + 2;
                                vals[i].bv_val = ch_malloc( vals[i].bv_len+1 );
                                ptr = lutil_strcopy( vals[i].bv_val,
-                                       a->a_desc->ad_cname.bv_val );
+                                       m->sml_desc->ad_cname.bv_val );
                                *ptr++ = ':';
                                *ptr++ = '-';
                                *ptr = '\0';