summaryrefslogtreecommitdiffstats
path: root/src/cookbook.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2022-05-11 02:17:51 +0300
committergramanas <anastasis.gramm2@gmail.com>2022-05-11 02:17:51 +0300
commit3515199c9e158d4b6fe5d064539bdf288dca7b81 (patch)
tree7c4ac203010c03fefb4d736871b3b3f0a2db3f98 /src/cookbook.c
parent16538abf8d1231279133508ba15376145b818518 (diff)
downloadfoodtools-3515199c9e158d4b6fe5d064539bdf288dca7b81.tar.gz
foodtools-3515199c9e158d4b6fe5d064539bdf288dca7b81.tar.bz2
foodtools-3515199c9e158d4b6fe5d064539bdf288dca7b81.zip
initial library includes
Diffstat (limited to 'src/cookbook.c')
-rw-r--r--src/cookbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookbook.c b/src/cookbook.c
index 08fa325..0fab1e2 100644
--- a/src/cookbook.c
+++ b/src/cookbook.c
@@ -136,7 +136,7 @@ main(int argc, char * argv[])
}
char ** lib = NULL;
- int n = collect_library(&lib, argv, argc, optind);
+ int n = collect_library(&lib, argv, argc, optind, NULL, 0);
cookbook = (recipe **)malloc(sizeof(recipe *) * n);
for (int i = 0; i < n; i++) {