summaryrefslogtreecommitdiff
path: root/MailTCP.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-30 21:42:45 +0000
committerDave Hibberd <hibby@debian.org>2024-11-30 21:42:45 +0000
commit3a600bee231fc20c7a71bcc78465a28447ac1bb4 (patch)
tree9b1a58a5069afbd52a1044537ce29483c21934f0 /MailTCP.c
parentd09a1686084e26be230cbddc38a2b4f435975041 (diff)
parentd1c36fce6e52b94d2df9c0eb969c1d72947d1284 (diff)
Update upstream source from tag 'upstream/6.0.24.52+repack'
Update to upstream version '6.0.24.52+repack' with Debian dir 0b34b91ce1e12fbb6ea021c31ba7daa6c49e3c49
Diffstat (limited to 'MailTCP.c')
-rw-r--r--MailTCP.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/MailTCP.c b/MailTCP.c
index 49478e1..91ddc3f 100644
--- a/MailTCP.c
+++ b/MailTCP.c
@@ -2897,6 +2897,8 @@ SocketConn * SMTPConnect(char * Host, int Port, BOOL AMPR, struct MsgInfo * Msg,
sinx.sin_addr.s_addr = INADDR_ANY;
sinx.sin_port = 0;
+ sockptr->Timeout = 0;
+
if (bind(sockptr->socket, (LPSOCKADDR) &sinx, addrlen) != 0 )
{
//
@@ -3590,7 +3592,6 @@ VOID ProcessPOP3ClientMessage(SocketConn * sockptr, char * Buffer, int Len)
if (sockptr->POP3MsgCount > sockptr->POP3MsgNum++)
{
sockprintf(sockptr, "RETR %d", sockptr->POP3MsgNum);
-
sockptr->State = WaitingForRETRResponse;
}
else