formdata: use NULL, not 0, when returning pointers

This commit is contained in:
Daniel Stenberg 2016-12-25 10:36:29 +01:00
parent 9314bf8405
commit e50abe6478
1 changed files with 1 additions and 1 deletions

View File

@ -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;