]> git.sur5r.net Git - openldap/commitdiff
fixed bug in reading size/time limits without style, in the form 'size=number', ...
authorPierangelo Masarati <ando@openldap.org>
Fri, 23 Aug 2002 08:50:34 +0000 (08:50 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 23 Aug 2002 08:50:34 +0000 (08:50 +0000)
servers/slapd/limits.c

index c34e84882164cf464ffff65fed2ba270e8f16627..e9e436f68d43a001a408dbc3fb0f9c00dce96d01 100644 (file)
@@ -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;