Avoid C4090 level 1 warning

This breaks the build for PHP 8 by default.
This commit is contained in:
Christoph M. Becker 2021-02-08 23:11:37 +01:00
parent 03713ace23
commit 4f508003a9

View file

@ -526,7 +526,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
header we know it was the last thing. */ header we know it was the last thing. */
pos2 = pos1; pos2 = pos1;
} else { } else {
char *pos3 = pos2; const char *pos3 = pos2;
while (pos2[2] == ' ' || pos2[2] == '\t') { while (pos2[2] == ' ' || pos2[2] == '\t') {
pos3 = strstr(pos2 + 2, "\r\n"); pos3 = strstr(pos2 + 2, "\r\n");
if (pos3 != NULL) { if (pos3 != NULL) {