summaryrefslogtreecommitdiff
path: root/MailTCP.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-10 22:07:21 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-10 22:07:21 +0100
commit3e029049d76fdc2fc6b5f29ba5c97787067a50da (patch)
tree69c963a5c2414f91d233108a9aa5ce6cc2453a52 /MailTCP.c
parentb6a50b9b6c417bc84f44a7426423299495cd475d (diff)
parent7b2a99c53b210949fb2e993e65b6be66a9cbf7a1 (diff)
Update upstream source from tag 'upstream/6.0.24.15'
Update to upstream version '6.0.24.15' with Debian dir 55d9f12f070c2d4941ac2cd52b761500aa2e5570
Diffstat (limited to 'MailTCP.c')
-rw-r--r--MailTCP.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/MailTCP.c b/MailTCP.c
index b26f6da..74f2727 100644
--- a/MailTCP.c
+++ b/MailTCP.c
@@ -2207,6 +2207,7 @@ int TidyString(char * Address)
size_t len;
_strupr(Address);
+ Debugprintf(Address);
ptr1 = strchr(Address, '<');
@@ -2260,6 +2261,10 @@ int TidyString(char * Address)
ptr1=ptr2;
}
+ if (ptr1 == 0)
+ return 0;
+
+
if (*ptr1 == '<') ptr1++;
ptr2 = strlop(ptr1, '>');