session server UPDATE variable size
diff --git a/src/session_server.c b/src/session_server.c
index fdb4970..746ce85 100644
--- a/src/session_server.c
+++ b/src/session_server.c
@@ -3538,8 +3538,7 @@
struct nc_ch_endpt *cur_endpt;
struct nc_session *session;
struct nc_ch_client *client;
- uint32_t client_id;
- time_t reconnect_in;
+ uint32_t client_id, reconnect_in;
/* LOCK */
client = nc_server_ch_client_with_endpt_lock(data->client_name);
@@ -3590,7 +3589,7 @@
nc_server_ch_client_unlock(client);
/* sleep until we should reconnect TODO wake up sometimes to check for new notifications */
- VRB(NULL, "Call Home client \"%s\" reconnecting in %d seconds.", data->client_name, reconnect_in);
+ VRB(NULL, "Call Home client \"%s\" reconnecting in %" PRIu32" seconds.", data->client_name, reconnect_in);
sleep(reconnect_in);
/* LOCK */