summaryrefslogtreecommitdiff
path: root/test/uat-users.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/uat-users.c')
-rw-r--r--test/uat-users.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/uat-users.c b/test/uat-users.c
index 0f00d45..1c29b8b 100644
--- a/test/uat-users.c
+++ b/test/uat-users.c
@@ -99,7 +99,7 @@ static bool __foreach_registered_user_cb(
ua_user_h handle = NULL;
char *account = NULL;
char *name = NULL;
- unsigned long long timestamp = 0;
+ unsigned long long last_seen = 0;
if (!user_handle) {
msgr("user_handle is NULL");
@@ -128,9 +128,9 @@ static bool __foreach_registered_user_cb(
g_free(name);
}
- ret = ua_user_get_last_presence(handle, &timestamp);
+ 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;
}
@@ -204,7 +204,7 @@ static bool _user_foreach_added_device_cb(ua_device_h device_handle,
char *wifi_bssid = NULL;
char *ipv4 = NULL;
bool required = false;
- unsigned long long timestamp = 0;
+ unsigned long long last_seen = 0;
bool discriminant = false;
char service_id = 0;
char device_icon = 0;
@@ -269,9 +269,9 @@ static bool _user_foreach_added_device_cb(ua_device_h device_handle,
if (UA_ERROR_NONE == ret_temp)
msgc("Pairing Required : %s", required ? "YES" : "NO");
- ret_temp = ua_device_get_last_presence(handle, &timestamp);
+ ret_temp = ua_device_get_last_presence(handle, &last_seen);
if (UA_ERROR_NONE == ret_temp)
- msgc("Last present at : %llu", timestamp);
+ msgc("Last present at : %llu", last_seen);
ret_temp = ua_device_get_payload_service_id(handle, &service_id);
if (UA_ERROR_NONE == ret_temp)