~ubuntu-branches/ubuntu/precise/curl/precise-proposed

« back to all changes in this revision

Viewing changes to tests/libtest/lib575.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2011-11-25 17:30:45 UTC
  • mfrom: (3.4.23 sid)
  • Revision ID: package-import@ubuntu.com-20111125173045-2l3ni88jv16kath0
Tags: 7.22.0-3ubuntu1
* Merge from Debian unstable, remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Add new libcurl3-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * KIND, either express or implied.
20
20
 *
21
21
 ***************************************************************************/
22
 
 
23
22
#include "test.h"
24
23
 
25
 
#include <sys/types.h>
26
 
#include <sys/stat.h>
27
24
#include <fcntl.h>
28
25
 
29
26
#include "testutil.h"
81
78
 
82
79
  curl_multi_add_handle(mhandle, handle);
83
80
 
84
 
  while(CURLM_CALL_MULTI_PERFORM ==
85
 
        curl_multi_perform(mhandle, &still_running));
 
81
  curl_multi_perform(mhandle, &still_running);
86
82
 
87
83
  while(still_running) {
88
84
    static struct timeval timeout = /* 100 ms */ { 0, 100000L };
108
104
      goto test_cleanup;
109
105
    }
110
106
    else {
111
 
      while(CURLM_CALL_MULTI_PERFORM ==
112
 
          curl_multi_perform(mhandle, &still_running));
 
107
      curl_multi_perform(mhandle, &still_running);
113
108
    }
114
109
  }
115
110