aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 5d9c6bc4f4..c543244bc0 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -383,7 +383,7 @@ best_encoding (GByteArray *buf, const char *charset)
} while (status == (size_t) -1 && errno == E2BIG);
e_iconv_close (cd);
- if (status == (size_t) -1)
+ if (status == (size_t) -1 || status > 0)
return -1;
if (count == 0)