diff options
Diffstat (limited to 'test/uat-service.c')
-rw-r--r-- | test/uat-service.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/uat-service.c b/test/uat-service.c index c08cc34..89c491a 100644 --- a/test/uat-service.c +++ b/test/uat-service.c @@ -56,7 +56,7 @@ static bool _service_foreach_added_user_cb( char *service_name = NULL; char *account = NULL; char *name = NULL; - unsigned long long timestamp = 0; + unsigned long long last_seen = 0; ret = ua_service_get_name(service_handle, &service_name); if (UA_ERROR_NONE == ret) @@ -91,9 +91,9 @@ static bool _service_foreach_added_user_cb( g_free(name); } - ret = ua_user_get_last_presence(handle, ×tamp); + ret = ua_user_get_last_presence(handle, &last_seen); if (UA_ERROR_NONE == ret) - msglr("last present at %llu", timestamp); + msglr("last present at %llu", last_seen); return true; @@ -190,7 +190,7 @@ static bool _service_foreach_added_device_cb( char *ipv4 = NULL; bool required = false; bool discriminant = false; - unsigned long long timestamp = 0; + unsigned long long last_seen = 0; char service_id = 0; char device_icon = 0; char purpose = 0; @@ -264,9 +264,9 @@ static bool _service_foreach_added_device_cb( if (UA_ERROR_NONE == ret_temp) msgb("Discriminant : %s", discriminant ? "Enabled" : "Disabled"); - ret_temp = ua_device_get_last_presence(handle, ×tamp); + ret_temp = ua_device_get_last_presence(handle, &last_seen); if (UA_ERROR_NONE == ret_temp) - msgb("Last present at : %llu", timestamp); + msgb("Last present at : %llu", last_seen); ret_temp = ua_device_get_payload_service_id(handle, &service_id); if (UA_ERROR_NONE == ret_temp) |