* cosmetics

This commit is contained in:
djcb
2012-08-01 10:48:56 +03:00
parent 86e3c3095b
commit 279f627c5e
4 changed files with 22 additions and 21 deletions

View File

@ -79,7 +79,7 @@ mu_store_new_read_only (const char* xpath, GError **err)
} catch (const MuStoreError& merr) {
mu_util_g_set_error (err, merr.mu_error(), "%s",
merr.what().c_str());
merr.what().c_str());
} MU_XAPIAN_CATCH_BLOCK_G_ERROR(err, MU_ERROR_XAPIAN);
@ -126,9 +126,11 @@ mu_store_needs_upgrade (MuStore *store)
{
g_return_val_if_fail (store, TRUE);
return (g_strcmp0 (mu_store_version (store),
MU_STORE_SCHEMA_VERSION) == 0) ? FALSE : TRUE;
// g_print ("'%s' <=> '%s'\n", mu_store_version (store),
// MU_STORE_SCHEMA_VERSION);
return (g_strcmp0 (mu_store_version (store),
MU_STORE_SCHEMA_VERSION) == 0) ? FALSE : TRUE;
}
@ -197,7 +199,7 @@ mu_store_get_docid_for_path (MuStore *store, const char* path, GError **err)
time_t
mu_store_get_timestamp (MuStore *store, const char* msgpath, GError **err)
mu_store_get_timestamp (MuStore *store, const char *msgpath, GError **err)
{
char *stampstr;
time_t rv;