aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-25 10:36:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-25 10:36:29 +0100
commite50abe647876a02fdd719566e224471b5f7425f0 (patch)
tree0aeb3e1f254c2cbfe69d35113faecbf464c9592e
parent9314bf84053bd7ce5106a4e36a64cfb309b64a1a (diff)
formdata: use NULL, not 0, when returning pointers
-rw-r--r--lib/formdata.c2
1 files changed, 1 insertions, 1 deletions
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;