From 3afe39e21f664fcb2ba3a40cc2b5685dcb3d4fbe Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Tue, 11 Jul 2000 11:52:48 +0000 Subject: [PATCH] fix warning in VC6 --- win32/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/sendmail.c b/win32/sendmail.c index 11ea803374..1f57454ce9 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -250,7 +250,7 @@ int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers /* Send mail to all Cc rcpt's */ efree(tempMailTo); - if (headers && pos1 = strstr(headers, "Cc:")) { + if (headers && (pos1 = strstr(headers, "Cc:"))) { pos2 = strstr(pos1, "\r\n"); tempMailTo = estrndup(pos1, pos2-pos1); -- 2.50.1