]> git.sur5r.net Git - openldap/commitdiff
cleanup previous commit
authorPierangelo Masarati <ando@openldap.org>
Wed, 23 Jun 2010 17:44:56 +0000 (17:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 23 Jun 2010 17:44:56 +0000 (17:44 +0000)
servers/slapd/back-meta/search.c

index 740266c7fc14c0126a072c191ea2c324726e42b4..57cf5015b36764e80e23bea09bcf8a0ed46f2488 100644 (file)
@@ -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;