diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2013-08-17 09:52:50 -0400 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2013-08-17 09:52:50 -0400 |
| commit | 738c136f9065e1f027c22806403790b11ae3ab34 (patch) | |
| tree | 1dcce00ec83cf2b68fc2b75786e6f80849256bd9 /camel/camel-imapx-store.c | |
| parent | b965eb3df23d3de8afb6585ac96aaa1b5c2238c5 (diff) | |
| download | evolution-data-server-738c136f9065e1f027c22806403790b11ae3ab34.tar.gz | |
Addendum to the previous commit.
Diffstat (limited to 'camel/camel-imapx-store.c')
| -rw-r--r-- | camel/camel-imapx-store.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-imapx-store.c b/camel/camel-imapx-store.c index a90428f9f..98425cffd 100644 --- a/camel/camel-imapx-store.c +++ b/camel/camel-imapx-store.c @@ -2170,9 +2170,12 @@ camel_imapx_store_init (CamelIMAPXStore *store) store->priv = CAMEL_IMAPX_STORE_GET_PRIVATE (store); g_mutex_init (&store->priv->get_finfo_lock); - store->priv->last_refresh_time = time (NULL) - (FINFO_REFRESH_INTERVAL + 10); store->dir_sep = '/'; + /* Initialize to zero to ensure we always obtain fresh folder + * info on startup. See imapx_store_get_folder_info_sync(). */ + store->priv->last_refresh_time = 0; + g_mutex_init (&store->priv->server_lock); store->priv->quota_info = g_hash_table_new_full ( |
