causes unnecessary error logging and hosts-resending. */
if ((host == NULL || !host->self) &&
dir->last_sync_sent_ring_change_counter != dir->ring_change_counter &&
- (time_t)dir->self_host->last_sync_timestamp != ioloop_time)
+ dir->self_host->last_sync_timestamp != ioloop_time32)
(void)director_resend_sync(dir);
return TRUE;
}
}
} else if (dir->left != NULL) {
/* send a new SYNC in case the previous one got dropped */
- dir->self_host->last_sync_timestamp = ioloop_time;
+ dir->self_host->last_sync_timestamp = ioloop_time32;
director_sync_send(dir, dir->self_host, dir->sync_seq,
DIRECTOR_VERSION_MINOR, ioloop_time32,
mail_hosts_hash(dir->mail_hosts));
user->host->user_count--;
user->host = host;
user->host->user_count++;
- user->timestamp = ioloop_time;
+ user->timestamp = ioloop_time32;
e_debug(dir->event, "User %u move started: host %s -> %s",
username_hash, old_host->ip_str,
host->ip_str);
view = mail_index_view_open(cache->index);
ext = mail_index_view_get_ext(view, cache->ext_id);
- file_seq = ext != NULL ? ext->reset_id + 1 : (uint32_t)ioloop_time;
+ file_seq = ext != NULL ? ext->reset_id + 1 : ioloop_time32;
if (cache->hdr != NULL && file_seq <= cache->hdr->file_seq)
file_seq = cache->hdr->file_seq + 1;
struct mail_index_transaction *t =
mail_index_transaction_begin(dest->view, 0);
- uint32_t stamp = ioloop_time;
+ uint32_t stamp = ioloop_time32;
mail_index_update_header_ext(t, dest->box_last_rename_stamp_ext_id,
0, &stamp, sizeof(stamp));