From c17219ab27e9d56ebefd1cf064123db7a021eac7 Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Thu, 3 Jan 2008 13:04:18 +0100 Subject: [PATCH] Use correct prop_array_create_with_capacity() --- proplib/prop1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proplib/prop1.c b/proplib/prop1.c index bc68da5..6e7ae05 100644 --- a/proplib/prop1.c +++ b/proplib/prop1.c @@ -11,7 +11,7 @@ int main(int argc, char *argv[]) * Note that the array will expand on demand * by the prop_array_add() */ - pa = prop_array_create(10); + pa = prop_array_create_with_capacity(10); /* For every argument, create a reference to it * and store it in the array -- 2.11.4.GIT