]> granicus.if.org Git - mutt/commitdiff
Consider any negative return value from send_message() to be an error and allow the...
authorMichael Elkins <me@sigpipe.org>
Tue, 18 May 2010 15:39:48 +0000 (08:39 -0700)
committerMichael Elkins <me@sigpipe.org>
Tue, 18 May 2010 15:39:48 +0000 (08:39 -0700)
Closes #3411.

send.c

diff --git a/send.c b/send.c
index b38d3996ef6f068e88ca276fac86fa226db7b1ca..94cc93e8177b2f7b5676f711553423065e280122 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1766,7 +1766,7 @@ full_fcc:
    * the send failed as well so we give the user a chance to fix the
    * error.
    */
-  if (fcc_error || (i = send_message (msg)) == -1)
+  if (fcc_error || (i = send_message (msg)) < 0)
   {
     if (!(flags & SENDBATCH))
     {