mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:17:16 +03:00
formdata: use NULL, not 0, when returning pointers
This commit is contained in:
parent
9314bf8405
commit
e50abe6478
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue