From: Pierangelo Masarati Date: Wed, 23 Jun 2010 17:44:56 +0000 (+0000) Subject: cleanup previous commit X-Git-Tag: MIGRATION_CVS2GIT~564 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e2422d97d70a4a3ea7f773881da81412144f344;p=openldap cleanup previous commit --- 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;