From d8ac772cb5217df8fce435307524242a50153a07 Mon Sep 17 00:00:00 2001 From: Anastasios Grammenos Date: Mon, 6 Jun 2022 20:35:45 +0300 Subject: Allow empty ingredient quantity --- src/food.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/food.c') 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; } -- cgit v1.2.3