diff options
| author | Zeev Suraski <zeev@php.net> | 2000-02-11 15:59:30 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-02-11 15:59:30 +0000 |
| commit | 80bdd19e031ca0dac2dfd4cb62ff43558d477663 (patch) | |
| tree | 539fd5059d50e32acf9b991354d48cbcecb16426 /ext/imap | |
| parent | 80f4886c5a71b0cdc4a3159297160e30ddd298cb (diff) | |
| download | php-git-80bdd19e031ca0dac2dfd4cb62ff43558d477663.tar.gz | |
Fine tune Andi's patch
Diffstat (limited to 'ext/imap')
| -rw-r--r-- | ext/imap/imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/imap.c b/ext/imap/imap.c index 545f527882..45be5f3395 100644 --- a/ext/imap/imap.c +++ b/ext/imap/imap.c @@ -3441,14 +3441,14 @@ PHP_FUNCTION(imap_mail_compose) #if !(WIN32|WINNT) int _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath) { -#if PHP_WIN32 +#ifdef PHP_WIN32 int tsm_err; #else FILE *sendmail; int ret; #endif -#if PHP_WIN32 +#ifdef PHP_WIN32 if (imap_TSendMail(INI_STR("smtp"),&tsm_err,headers,subject,to,message,cc,bcc,rpath) != SUCCESS){ php_error(E_WARNING, GetSMErrorText(tsm_err)); return 0; |
