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:
bb3cab0
)
(no commit message)
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 21 Jul 2010 06:55:21 +0000
(06:55 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 21 Jul 2010 06:55:21 +0000
(06:55 +0000)
src/transport/plugin_transport_http.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_http.c
b/src/transport/plugin_transport_http.c
index c5de1cc7863d42cc97b265a1822ecd9f13e071c7..7137947c5dde02be042b9493683270018febf6f3 100644
(file)
--- a/
src/transport/plugin_transport_http.c
+++ b/
src/transport/plugin_transport_http.c
@@
-1307,6
+1307,7
@@
static void curl_perform (void *cls,
struct HTTP_PeerContext *pc = NULL;
struct HTTP_Message * cur_msg = NULL;
long http_result;
+ char * tmp;
GNUNET_assert(cls !=NULL);
@@
-1328,7
+1329,8
@@
static void curl_perform (void *cls,
break;
/* get session for affected curl handle */
GNUNET_assert ( msg->easy_handle != NULL );
- curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, (char *) &ps);
+ curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &tmp);
+ ps = (struct Session *) tmp;
GNUNET_assert ( ps != NULL );
pc = ps->peercontext;
GNUNET_assert ( pc != NULL );