fix
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2003 11:43:08 +0000 (11:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2003 11:43:08 +0000 (11:43 +0000)
docs/examples/multi-app.c

index 13a221325c8fec9d982621af3f0516ac9fd21093..aead0244ff6211e8a7102d5746337639a25bca51 100644 (file)
@@ -83,7 +83,8 @@ int main(int argc, char **argv)
     default:
       /* one or more of curl's file descriptors say there's data to read
          or write */
-      curl_multi_perform(multi_handle, &still_running);
+      while(CURLM_CALL_MULTI_PERFORM ==
+            curl_multi_perform(multi_handle, &still_running));
       break;
     }
   }