[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: follow twister change e0166
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return value on upload_cb registration with curl |
Date: |
Tue, 05 Jun 2018 10:13:15 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 360fa4177 follow twister change
e01669953d7a8e82a505fca2308e57e971d43c67: check return value on upload_cb
registration with curl
360fa4177 is described below
commit 360fa41773651f9592c440d8fefe7748e6f1a1ce
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jun 5 10:13:13 2018 +0200
follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check
return value on upload_cb registration with curl
---
src/gns/gnunet-gns-proxy.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index e4fa5cc10..918c1d110 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -1914,9 +1914,10 @@ create_response (void *cls,
curl_easy_setopt (s5r->curl,
CURLOPT_WRITEDATA,
s5r);
- curl_easy_setopt (s5r->curl,
- CURLOPT_READFUNCTION,
- &curl_upload_cb);
+ GNUNET_assert (CURLE_OK ==
+ curl_easy_setopt (s5r->curl,
+ CURLOPT_READFUNCTION,
+ &curl_upload_cb));
curl_easy_setopt (s5r->curl,
CURLOPT_READDATA,
s5r);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return value on upload_cb registration with curl,
gnunet <=