[evolution-data-server] 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] imapx_is_duplicate_fetch_or_refresh: Fix incorrect bit-flag test
- Date: Thu, 9 Oct 2014 09:51:15 +0000 (UTC)
commit aa1d8f07835b95dfd781d87dfcb7af97750e00b3
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 9418a42..d77bd86 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1332,7 +1332,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]