gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 11/173: formdata: use NULL, not 0, when returning p


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 11/173: formdata: use NULL, not 0, when returning pointers
Date: Fri, 24 Feb 2017 14:00:33 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit e50abe647876a02fdd719566e224471b5f7425f0
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sun Dec 25 10:36:29 2016 +0100

    formdata: use NULL, not 0, when returning pointers
---
 lib/formdata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]