diff options
author | Michael Elkins <me@sigpipe.org> | 2010-05-18 08:39:48 -0700 |
---|---|---|
committer | Michael Elkins <me@sigpipe.org> | 2010-05-18 08:39:48 -0700 |
commit | 85837e37459ea61e7bc0bf1c2852a304100b61d9 (patch) | |
tree | 54dd9f035e491f89636c678345842bb5842a0751 | |
parent | 0d7b37f8150bd8d668fbe92aca675b1a58b59e3c (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |