projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc9d82
)
follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return value...
author
Christian Grothoff
<christian@grothoff.org>
Tue, 5 Jun 2018 08:13:13 +0000
(10:13 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 5 Jun 2018 08:13:13 +0000
(10:13 +0200)
src/gns/gnunet-gns-proxy.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-gns-proxy.c
b/src/gns/gnunet-gns-proxy.c
index e4fa5cc109b534353b772fb3bb460b2b47795896..918c1d110ea77aa59260ee9f77507343db36f582 100644
(file)
--- 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);