1 --- mutt-1.5.21/mutt_socket.c.orig
2 +++ mutt-1.5.21/mutt_socket.c
5 dprint (1, (debugfile, "mutt_socket_close: Attempt to close closed connection.\n"));
8 + mutt_allow_interrupt (1);
9 rc = conn->conn_close (conn);
10 + mutt_allow_interrupt (0);
19 + mutt_allow_interrupt (1);
20 rc = conn->conn_read (conn, buf, len);
21 + mutt_allow_interrupt (0);
29 - if ((rc = conn->conn_write (conn, buf + sent, len - sent)) < 0)
30 + mutt_allow_interrupt (1);
31 + rc = conn->conn_write (conn, buf + sent, len - sent);
32 + mutt_allow_interrupt (0);
35 dprint (1, (debugfile,
36 "mutt_socket_write: error writing (%s), closing socket\n",
38 if (conn->bufpos >= conn->available)
42 + mutt_allow_interrupt (1);
43 conn->available = conn->conn_read (conn, conn->inbuf, sizeof (conn->inbuf));
44 + mutt_allow_interrupt (0);
48 dprint (1, (debugfile, "mutt_socket_readchar: attempt to read from closed connection.\n"));