diff options
author | Nathan Gass | 2011-10-25 15:28:39 +0000 |
---|---|---|
committer | Nathan Gass | 2011-10-25 15:28:39 +0000 |
commit | edd4c364b0ab77dcfa69465d7393226c450b683f (patch) | |
tree | e6f37d292ed342e9ba83f19cf52db9b6b6da9f59 /it_url.class | |
parent | 2371a9c7d1c0d8ce89a740fc37325eecf7d6ffcd (diff) | |
download | itools-edd4c364b0ab77dcfa69465d7393226c450b683f.tar.gz itools-edd4c364b0ab77dcfa69465d7393226c450b683f.tar.bz2 itools-edd4c364b0ab77dcfa69465d7393226c450b683f.zip |
adapt style
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/it_url.class b/it_url.class index d943346..da6f033 100644 --- a/it_url.class +++ b/it_url.class @@ -389,15 +389,16 @@ function get_multi($p=null) curl_multi_add_handle($mh, $ch[$key]); } - // curl_multi loop copied from example at http://php.net/manual/en/function.curl-multi-exec.php + # curl_multi loop copied from example at http://php.net/manual/en/function.curl-multi-exec.php $active = null; - //execute the handles do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); - while ($active && $mrc == CURLM_OK) { - if (curl_multi_select($mh) != -1) { + while ($active && $mrc == CURLM_OK) + { + if (curl_multi_select($mh) != -1) + { do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); |