summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2010-05-18 08:39:48 -0700
committerMichael Elkins <me@sigpipe.org>2010-05-18 08:39:48 -0700
commit85837e37459ea61e7bc0bf1c2852a304100b61d9 (patch)
tree54dd9f035e491f89636c678345842bb5842a0751
parent0d7b37f8150bd8d668fbe92aca675b1a58b59e3c (diff)
Consider any negative return value from send_message() to be an error and allow the user to resend.
Closes #3411.
-rw-r--r--send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send.c b/send.c
index b38d3996..94cc93e8 100644
--- 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))
{