From e50abe647876a02fdd719566e224471b5f7425f0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Dec 2016 10:36:29 +0100 Subject: formdata: use NULL, not 0, when returning pointers --- lib/formdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/formdata.c b/lib/formdata.c index abd2da075..c12227623 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -1553,7 +1553,7 @@ char *Curl_formpostheader(void *formp, size_t *len) struct Form *form=(struct Form *)formp; if(!form->data) - return 0; /* nothing, ERROR! */ + return NULL; /* nothing, ERROR! */ header = form->data->line; *len = form->data->length; -- cgit v1.2.3