summaryrefslogtreecommitdiff
path: root/MailTCP.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-30 22:18:40 +0000
committerDave Hibberd <hibby@debian.org>2024-11-30 22:18:40 +0000
commit697fde312336b04129289ed268043e641ef284cb (patch)
treeea18c846d0e8d6eb0f964372e1adcc83fee14bdf /MailTCP.c
parentd1c36fce6e52b94d2df9c0eb969c1d72947d1284 (diff)
parent93a10a982d3fcab0c469e2805b2034bba4e59a55 (diff)
Merge branch 'upstream/latest' of git.hibbian.org:Hibbian/linbpq into upstream/latest
Diffstat (limited to 'MailTCP.c')
-rw-r--r--MailTCP.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MailTCP.c b/MailTCP.c
index 91ddc3f..49478e1 100644
--- a/MailTCP.c
+++ b/MailTCP.c
@@ -2897,8 +2897,6 @@ 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 )
{
//
@@ -3592,6 +3590,7 @@ VOID ProcessPOP3ClientMessage(SocketConn * sockptr, char * Buffer, int Len)
if (sockptr->POP3MsgCount > sockptr->POP3MsgNum++)
{
sockprintf(sockptr, "RETR %d", sockptr->POP3MsgNum);
+
sockptr->State = WaitingForRETRResponse;
}
else