summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-10 13:32:47 +0000
committerZeev Suraski <zeev@php.net>1999-04-10 13:32:47 +0000
commite3d2234b80aac5d8defcd6fe9407ab621ba13c86 (patch)
treef0b55ba690260a18b1b52e5ffc7d49bd5fa6dd48 /win32
parent79f9f0ce8848ef2b2ad73c67350fba8b556c8d9d (diff)
downloadphp-git-e3d2234b80aac5d8defcd6fe9407ab621ba13c86.tar.gz
A lot of php3_ini -> php_ini work
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 7adf4d7bf3..b598a03b9c 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -31,7 +31,7 @@
#include <memory.h>
#include <winbase.h>
#include "sendmail.h"
-
+#include "php_ini.h"
/*
extern int _daylight;
@@ -126,8 +126,8 @@ int TSendMail(char *host, int *error,
strcpy(GLOBAL(MailHost), host);
}
- if (php3_ini.sendmail_from){
- RPath = estrdup(php3_ini.sendmail_from);
+ if (INI_STR("sendmail_from")){
+ RPath = estrdup(INI_STR("sendmail_from"));
} else {
return 19;
}