From 39192b7a42ac784dafb1c1cf616a1f9f7d4280bd Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 5 Jan 2010 09:34:30 +0200 Subject: [PATCH] * mu-query-xapian: fix typo (inverted conditional) --- src/mu-query-xapian.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mu-query-xapian.cc b/src/mu-query-xapian.cc index ff1fb47e..dac595c7 100644 --- a/src/mu-query-xapian.cc +++ b/src/mu-query-xapian.cc @@ -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;