1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-20 21:54:20 +01:00

When number of sync servers equals zero, set sync result to success.

Patch from arte42.ripe in issue #7.
This commit is contained in:
Simon Josefsson 2010-05-17 13:06:06 +00:00
parent 2f099df58c
commit 7b18b50ee7
2 changed files with 4 additions and 0 deletions

3
NEWS
View File

@ -2,6 +2,9 @@
* Fix undefined warnings, issue #8.
* When number of sync servers equals zero, set sync result to success.
Patch from arte42.ripe in issue #7.
* Add files COPYING and AUTHORS.
* Version 2.4 released 2010-03-16

View File

@ -270,6 +270,7 @@ if ($req_answers>0) {
$sl_success_rate=floor(100.0 * $nr_valid_answers / $nr_servers);
} else {
$syncres=true;
$nr_answers=0;
$nr_valid_answers=0;
$sl_success_rate=0;