From: Brendan Cully Date: Sun, 19 Oct 2008 19:41:55 +0000 (-0700) Subject: Fix buglet in logging from previous commit X-Git-Tag: mutt-1-5-19-rel~108 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c6c8c65fb0065d0dc7280331baf603adfdac4e4;p=mutt Fix buglet in logging from previous commit --- 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));