aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 40be7662f0..91acb931ab 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1281,7 +1281,7 @@ pgpopen (const char *command, const char *mode)
g_return_val_if_fail (command != NULL, NULL);
- if (*mode != 'r' || *mode != 'w')
+ if (*mode != 'r' && *mode != 'w')
return NULL;
argv = g_strsplit (command, " ", 0);