From ed33462bdfda9f18a03e7ce42c348299aa88d317 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 6 Jan 1999 20:27:27 +0000 Subject: [PATCH] Use MAXARGS... we should actually check for limits.h's ARG_MAX and use this everywhere... but that's for another day. --- servers/slapd/tools/ldif2ldbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index adca59cac2..6f93b94d79 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -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]; -- 2.39.5