]> git.sur5r.net Git - openldap/commitdiff
Use MAXARGS... we should actually check for limits.h's ARG_MAX and
authorKurt Zeilenga <kurt@openldap.org>
Wed, 6 Jan 1999 20:27:27 +0000 (20:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 6 Jan 1999 20:27:27 +0000 (20:27 +0000)
use this everywhere... but that's for another day.

servers/slapd/tools/ldif2ldbm.c

index adca59cac23dd28bb16723e6f987b76e8366f084..6f93b94d792af8ecb3c71ceecc78bcb6fc0ea70c 100644 (file)
@@ -63,7 +63,7 @@ main( int argc, char **argv )
 {
        int             i, stop, status;
        char            *linep, *buf, *sbindir;
-       char            *args[10];
+       char            *args[MAXARGS];
        char            buf2[20], buf3[20];
        char            line[BUFSIZ];
        char            cmd[MAXPATHLEN];