diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 12:15:43 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 12:15:43 +0100 |
commit | e13dcef265dea3b222b85e09274333ba984ac1ca (patch) | |
tree | 0316b8fb03d4129aadce2f43d910829f492227a0 /unittest/test_multiple_devices.cc | |
parent | 4dbe7113cf374454f681736308d87e27403c147b (diff) | |
download | libnitrokey-e13dcef265dea3b222b85e09274333ba984ac1ca.tar.gz libnitrokey-e13dcef265dea3b222b85e09274333ba984ac1ca.tar.bz2 |
Replace NK_status with NK_get_status_as_string in unit tests
Diffstat (limited to 'unittest/test_multiple_devices.cc')
-rw-r--r-- | unittest/test_multiple_devices.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_multiple_devices.cc b/unittest/test_multiple_devices.cc index 4b1e2c1..7e10a42 100644 --- a/unittest/test_multiple_devices.cc +++ b/unittest/test_multiple_devices.cc @@ -117,7 +117,7 @@ TEST_CASE("Use C API", "[BASIC]") { while (ptr) { std::cout << "Connect with: " << ptr->model << " " << ptr->path << " " << ptr->serial_number << " | " << NK_connect_with_path(ptr->path) << " | "; - auto status = NK_status(); + auto status = NK_get_status_as_string(); std::cout << status << std::endl; free(status); ptr = ptr->next; |