aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-06-09 20:39:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-09 20:39:54 +0800
commite79c7cbc001bccf6742876c1bc3a728a799dffbc (patch)
tree7c0f51b18bc23d0aa06c79bac745334addf347e2 /camel
parentee0597837b60463bd9cecef901b1befd7e8a3eb4 (diff)
downloadgsoc2013-evolution-e79c7cbc001bccf6742876c1bc3a728a799dffbc.tar.gz
gsoc2013-evolution-e79c7cbc001bccf6742876c1bc3a728a799dffbc.tar.zst
gsoc2013-evolution-e79c7cbc001bccf6742876c1bc3a728a799dffbc.zip
oops, we already did a NODATA check. just save the state there rather than creating a new NODATA check :-)
svn path=/trunk/; revision=26267
Diffstat (limited to 'camel')
-rw-r--r--camel/camel-gpg-context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c
index 43e34ac408..9c367a6e24 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -818,6 +818,7 @@ gpg_ctx_parse_status (struct _GpgCtx *gpg, CamelException *ex)
} else if (!strncmp (status, "NODATA", 6)) {
/* this is an error */
/* But we ignore it anyway, we should get other response codes to say why */
+ gpg->nodata = TRUE;
} else {
/* check to see if we are complete */
switch (gpg->mode) {
@@ -854,8 +855,6 @@ gpg_ctx_parse_status (struct _GpgCtx *gpg, CamelException *ex)
gpg->hadsig = TRUE;
} else if (!strncmp (status, "NO_PUBKEY ", 10)) {
gpg->nopubkey = TRUE;
- } else if (!strncmp (status, "NODATA", 6)) {
- gpg->nodata = TRUE;
}
break;
case GPG_CTX_MODE_ENCRYPT: