aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 45da68f..16d1878 100644
--- a/main.c
+++ b/main.c
@@ -215,6 +215,7 @@ static int get_forms(const struct http_payload *const pl,
if (!ref)
{
fprintf(stderr, "%s: expected non-NULL buffer\n", __func__);
+ ret = 1;
goto end;
}
else if (!(dup = strndup(ref, p->n)))