mirror of https://github.com/djcb/mu.git
* mu-index: cosmetics
This commit is contained in:
parent
5e7a920336
commit
5a1be9fa01
|
@ -86,6 +86,8 @@ _insert_or_update_maybe (const char* fullpath, time_t filestamp,
|
||||||
|
|
||||||
*updated = FALSE;
|
*updated = FALSE;
|
||||||
|
|
||||||
|
g_debug ("msg: %s (%u)", fullpath,(size_t)filestamp);
|
||||||
|
|
||||||
if (!data->_reindex)
|
if (!data->_reindex)
|
||||||
if ((size_t)filestamp <= (size_t)data->_dirstamp)
|
if ((size_t)filestamp <= (size_t)data->_dirstamp)
|
||||||
return MU_OK;
|
return MU_OK;
|
||||||
|
@ -167,13 +169,13 @@ on_run_maildir_dir (const char* fullpath, gboolean enter,
|
||||||
data->_dirstamp =
|
data->_dirstamp =
|
||||||
mu_store_xapian_get_timestamp (data->_xapian,
|
mu_store_xapian_get_timestamp (data->_xapian,
|
||||||
fullpath);
|
fullpath);
|
||||||
g_debug ("entering %s; timestamp == %u",
|
g_debug ("entering %s (ts==%u)",
|
||||||
fullpath, (unsigned)data->_dirstamp);
|
fullpath, (unsigned)data->_dirstamp);
|
||||||
} else {
|
} else {
|
||||||
time_t now = time (NULL);
|
time_t now = time (NULL);
|
||||||
mu_store_xapian_set_timestamp (data->_xapian, fullpath,
|
mu_store_xapian_set_timestamp (data->_xapian, fullpath,
|
||||||
now);
|
now);
|
||||||
g_debug ("leaving %s; timestamp = %u",
|
g_debug ("leaving %s (ts=%u)",
|
||||||
fullpath, (unsigned)data->_dirstamp);
|
fullpath, (unsigned)data->_dirstamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue