diff options
| author | Thies C. Arntzen <thies@php.net> | 2000-07-11 11:52:48 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 2000-07-11 11:52:48 +0000 |
| commit | 3afe39e21f664fcb2ba3a40cc2b5685dcb3d4fbe (patch) | |
| tree | 1f10ccbbd4efac37d1dec172ddef90a05e166ed4 /win32/sendmail.c | |
| parent | f4e2a900d64f9d796b4242d2d6e1c4af193395ae (diff) | |
| download | php-git-3afe39e21f664fcb2ba3a40cc2b5685dcb3d4fbe.tar.gz | |
fix warning in VC6
Diffstat (limited to 'win32/sendmail.c')
| -rw-r--r-- | win32/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
