mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
formdata: use NULL, not 0, when returning pointers
This commit is contained in:
parent
9314bf8405
commit
e50abe6478
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user