summaryrefslogtreecommitdiff
path: root/docs/examples/multi-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-app.c')
-rw-r--r--docs/examples/multi-app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c
index 78867d835..b98a25161 100644
--- a/docs/examples/multi-app.c
+++ b/docs/examples/multi-app.c
@@ -147,11 +147,11 @@ int main(void)
/* See how the transfers went */
while((msg = curl_multi_info_read(multi_handle, &msgs_left))) {
if(msg->msg == CURLMSG_DONE) {
- int idx, found = 0;
+ int idx;
/* Find out which handle this message is about */
for(idx = 0; idx<HANDLECOUNT; idx++) {
- found = (msg->easy_handle == handles[idx]);
+ int found = (msg->easy_handle == handles[idx]);
if(found)
break;
}