e_debug(conn->event, "user refresh: %u refreshed timestamp from %u to %"PRIdTIME_T,
username_hash, user->timestamp, timestamp);
user_directory_refresh(users, user);
- user->timestamp = timestamp;
+ user->timestamp = time_to_uint32(timestamp);
ret = TRUE;
} else {
e_debug(conn->event, "user refresh: %u ignored timestamp %"PRIdTIME_T" (we have %u)",
user->username_hash = username_hash;
user->host = host;
user->host->user_count++;
- user->timestamp = timestamp;
+ user->timestamp = time_to_uint32(timestamp);
DLLIST2_APPEND(&dir->head, &dir->tail, user);
if (dir->to_expire == NULL) {