1
0
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:
Daniel Stenberg 2016-12-25 10:36:29 +01:00
parent 9314bf8405
commit e50abe6478

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;