From 6e2422d97d70a4a3ea7f773881da81412144f344 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 23 Jun 2010 17:44:56 +0000 Subject: [PATCH] cleanup previous commit --- servers/slapd/back-meta/search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index 740266c7fc..57cf5015b3 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -1438,7 +1438,7 @@ really_bad:; if ( rs->sr_nentries == op->ors_slimit || META_BACK_ONERR_STOP( mi ) ) { - char *save_text = rs->sr_text; + const char *save_text = rs->sr_text; savepriv = op->o_private; op->o_private = (void *)i; rs->sr_text = candidates[ i ].sr_text; @@ -1454,7 +1454,7 @@ really_bad:; default: candidates[ i ].sr_err = rs->sr_err; if ( META_BACK_ONERR_STOP( mi ) ) { - char *save_text = rs->sr_text; + const char *save_text = rs->sr_text; savepriv = op->o_private; op->o_private = (void *)i; rs->sr_text = candidates[ i ].sr_text; -- 2.39.5