summaryrefslogtreecommitdiffstats
path: root/src/food.c
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-06-06 20:35:45 +0300
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-06-06 20:35:45 +0300
commitd8ac772cb5217df8fce435307524242a50153a07 (patch)
treebbda6a6a74ec5bed1e285fb58e5f2444dbd43d5f /src/food.c
parent55eb1d5f31544ed51e1e31024ecbb9cde68b0c72 (diff)
downloadfoodtools-d8ac772cb5217df8fce435307524242a50153a07.tar.gz
foodtools-d8ac772cb5217df8fce435307524242a50153a07.tar.bz2
foodtools-d8ac772cb5217df8fce435307524242a50153a07.zip
Allow empty ingredient quantity
Diffstat (limited to 'src/food.c')
-rw-r--r--src/food.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/food.c b/src/food.c
index 9506713..e4bc981 100644
--- a/src/food.c
+++ b/src/food.c
@@ -180,7 +180,7 @@ main(int argc, char * argv[])
for (int i = 0; i < n; i++) {
recipe * r = parse(lib[i], NULL);
if (!r) {
- fprintf(stderr, "Recipe %s not found\n", lib[i]);
+ fprintf(stderr, "Couldn't parse recipe: %s\n", lib[i]);
continue;
}