* mu-query-xapian: fix typo (inverted conditional)

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-05 09:34:30 +02:00
parent 735cd5d705
commit 39192b7a42
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ mu_query_xapian_new (const char* path)
g_return_val_if_fail (path, NULL);
xpath = g_strdup_printf ("%s%c%s", path, G_DIR_SEPARATOR, "xapian");
if (!access(xpath, R_OK) != 0) {
if (access(xpath, R_OK) != 0) {
g_warning ("'%s' is not a readable xapian dir",xpath);
g_free (xpath);
return NULL;