]> git.sur5r.net Git - openldap/commitdiff
fix limits unparse
authorPierangelo Masarati <ando@openldap.org>
Fri, 19 May 2006 22:34:04 +0000 (22:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 19 May 2006 22:34:04 +0000 (22:34 +0000)
servers/slapd/limits.c

index baa2e65feca0f79695cd0dc1c7295d9aef3dbed7..5f1d83c7d40b978900b8fd93c9021740b537f68d 100644 (file)
@@ -926,8 +926,6 @@ limits_unparse( struct slap_limits *lim, struct berval *bv, ber_len_t buflen )
                        break;
                }
        }
-       if ( WHATSLEFT <= STRLENOF( " " ) ) return -1;
-       *ptr++ = ' ';
        bv->bv_len = ptr - bv->bv_val;
        btmp.bv_val = ptr;
        btmp.bv_len = 0;