mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-12-01 15:24:16 +01:00
fixed bug. When only partial answer were received, the queue delete functionality didn't work
This commit is contained in:
parent
a26c8a70cc
commit
e526936ce3
@ -341,13 +341,15 @@ class SyncLib
|
||||
}
|
||||
} while($active);
|
||||
|
||||
|
||||
foreach ($ch as $h) {
|
||||
curl_multi_remove_handle ($mh, $h);
|
||||
curl_close ($h);
|
||||
}
|
||||
curl_multi_close ($mh);
|
||||
|
||||
return $str;
|
||||
if ($ans_count>0) return $ans_arr;
|
||||
else return $str;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user