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

Merge branch 'sync-fixup'

This commit is contained in:
Klas Lindfors 2016-05-03 09:36:52 +02:00
commit 53a5b0553d

View File

@ -300,7 +300,6 @@ class SyncLib
}
$server_list[$server] = $list;
$handle = curl_init();
curl_setopt($handle, CURLOPT_PRIVATE, $server);
$ch[$server] = $handle;
$this->db->closeCursor($res);
}
@ -328,7 +327,7 @@ class SyncLib
while ($info = curl_multi_info_read($mh)) {
$handle = $info['handle'];
$server = curl_getinfo($handle, CURLINFO_PRIVATE);
$server = strtok(curl_getinfo($handle, CURLINFO_EFFECTIVE_URL), "?");
$entry = $entries[$server];
$this->log(LOG_DEBUG, "handle indicated to be for $server.");
curl_multi_remove_handle($mh, $handle);