[evolution-data-server/evolution-data-server-3-12] imapx_is_duplicate_fetch_or_refresh: Fix incorrect bit-flag test
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] imapx_is_duplicate_fetch_or_refresh: Fix incorrect bit-flag test
- Date: Thu, 9 Oct 2014 09:53:17 +0000 (UTC)
commit 91e74dbafdc077e9da0db6d4c6192ecfb6568cc2
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 9 11:50:39 2014 +0200
imapx_is_duplicate_fetch_or_refresh: Fix incorrect bit-flag test
camel/providers/imapx/camel-imapx-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index fa6a67d..d61b702 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1340,7 +1340,7 @@ imapx_is_duplicate_fetch_or_refresh (CamelIMAPXServer *is,
if (job == NULL)
return FALSE;
- if ((job->type && job_types) == 0)
+ if ((job->type & job_types) == 0)
return FALSE;
if (imapx_match_active_job (is, job_types, NULL) == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]