aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-01 02:08:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-01 02:08:32 +0800
commit90299ffcbae59222348f2a14a04b4be8f5d1df4a (patch)
tree01f3dae7390f7e7cfef6883998815d08048356cd /mail/mail-config.c
parent99cfafb5f0e3ffcabd2a613f24992238b22b76d2 (diff)
downloadgsoc2013-evolution-90299ffcbae59222348f2a14a04b4be8f5d1df4a.tar.gz
gsoc2013-evolution-90299ffcbae59222348f2a14a04b4be8f5d1df4a.tar.zst
gsoc2013-evolution-90299ffcbae59222348f2a14a04b4be8f5d1df4a.zip
Fix the boolean check to be && and not ||.
2001-11-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (pgpopen): Fix the boolean check to be && and not ||. svn path=/trunk/; revision=14826
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);