diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-25 10:36:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-12-25 10:36:29 +0100 |
commit | e50abe647876a02fdd719566e224471b5f7425f0 (patch) | |
tree | 0aeb3e1f254c2cbfe69d35113faecbf464c9592e | |
parent | 9314bf84053bd7ce5106a4e36a64cfb309b64a1a (diff) | |
download | curl-e50abe647876a02fdd719566e224471b5f7425f0.tar.gz |
formdata: use NULL, not 0, when returning pointers
-rw-r--r-- | lib/formdata.c | 2 |
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; |