1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 09:24:12 +01:00

fixed bug. When only partial answer were received, the queue delete functionality didn't work

This commit is contained in:
Olov Danielson 2009-12-04 16:11:00 +00:00
parent a26c8a70cc
commit e526936ce3

View File

@ -340,14 +340,16 @@ class SyncLib
curl_multi_select ($mh); curl_multi_select ($mh);
} }
} while($active); } while($active);
foreach ($ch as $h) { foreach ($ch as $h) {
curl_multi_remove_handle ($mh, $h); curl_multi_remove_handle ($mh, $h);
curl_close ($h); curl_close ($h);
} }
curl_multi_close ($mh); curl_multi_close ($mh);
return $str; if ($ans_count>0) return $ans_arr;
else return $str;
} }
} }