diff options
author | Brendan Cully <brendan@kublai.com> | 2008-10-19 12:41:55 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2008-10-19 12:41:55 -0700 |
commit | 0c6c8c65fb0065d0dc7280331baf603adfdac4e4 (patch) | |
tree | 71c1099ec37428f251b6454465f2a59811798932 /mutt_socket.c | |
parent | 6ac8a52694be628ee6d9717bc739c6ccc83ba5d3 (diff) |
Fix buglet in logging from previous commit
Diffstat (limited to 'mutt_socket.c')
-rw-r--r-- | mutt_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt_socket.c b/mutt_socket.c index 98bd01e6..e5655d76 100644 --- a/mutt_socket.c +++ b/mutt_socket.c @@ -137,7 +137,7 @@ int mutt_socket_write_d (CONNECTION *conn, const char *buf, int len, int dbg) return -1; } - if (rc < len) + if (rc < len - sent) dprint (3, (debugfile, "mutt_socket_write: short write (%d of %d bytes)\n", rc, len - sent)); |