From: Pierangelo Masarati Date: Fri, 23 Aug 2002 08:50:34 +0000 (+0000) Subject: fixed bug in reading size/time limits without style, in the form 'size=number', ... X-Git-Tag: NO_SLAP_OP_BLOCKS~1196 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b4b4b34c494da71e99d5b04036372a4916f750d;p=openldap fixed bug in reading size/time limits without style, in the form 'size=number', 'time=number' --- diff --git a/servers/slapd/limits.c b/servers/slapd/limits.c index c34e848821..e9e436f68d 100644 --- a/servers/slapd/limits.c +++ b/servers/slapd/limits.c @@ -436,6 +436,7 @@ parse_limit( } } else if ( arg[0] == '=' ) { + arg++; limit->lms_t_soft = atoi( arg ); limit->lms_t_hard = 0; @@ -487,6 +488,7 @@ parse_limit( } } else if ( arg[0] == '=' ) { + arg++; limit->lms_s_soft = atoi( arg ); limit->lms_s_hard = 0;