session server UPDATE variable size
@@ -3538,8 +3538,7 @@ nc_ch_client_thread(void *arg)
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_ch_client_thread(void *arg)
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 */
