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:
b63fdaa
)
(no commit message)
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 8 Sep 2010 11:57:46 +0000
(11:57 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 8 Sep 2010 11:57:46 +0000
(11:57 +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 44e4c9aba6dfb3515452f3eb9ad8590750ae3d7a..15b335aa35fcd563c79fdc919bd4b51951984e9c 100644
(file)
--- a/
src/transport/plugin_transport_http.c
+++ b/
src/transport/plugin_transport_http.c
@@
-1455,6
+1455,7
@@
static void curl_perform (void *cls,
struct Plugin *plugin = cls;
static unsigned int handles_last_run;
int running;
+ int msgs_in_queue;
struct CURLMsg *msg;
CURLMcode mret;
struct Session *ps = NULL;
@@
-1478,7
+1479,7
@@
static void curl_perform (void *cls,
do
{
- msg = curl_multi_info_read (plugin->multi_handle, &
running
);
+ msg = curl_multi_info_read (plugin->multi_handle, &
msgs_in_queue
);
if (running == 0)
break;
/* get session for affected curl handle */
@@
-1593,7
+1594,7
@@
static void curl_perform (void *cls,
}
}
- while ( (
running
> 0) );
+ while ( (
msgs_in_queue
> 0) );
}
handles_last_run = running;
}