mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
- Please do not use spaces for indentation!
- Removed redundend ifdefs
This commit is contained in:
@@ -82,7 +82,7 @@ PHP_FUNCTION(linkinfo)
|
||||
{
|
||||
zval **filename;
|
||||
#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
|
||||
struct stat_libc sb;
|
||||
struct stat_libc sb;
|
||||
#else
|
||||
struct stat sb;
|
||||
#endif
|
||||
|
||||
@@ -142,7 +142,6 @@ PHP_FUNCTION(mail)
|
||||
*/
|
||||
PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC)
|
||||
{
|
||||
/*#ifdef PHP_WIN32*/
|
||||
#if (defined PHP_WIN32 || defined NETWARE)
|
||||
int tsm_err;
|
||||
char *tsm_errmsg = NULL;
|
||||
@@ -153,7 +152,6 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
|
||||
char *sendmail_cmd = NULL;
|
||||
|
||||
if (!sendmail_path) {
|
||||
/*#ifdef PHP_WIN32*/
|
||||
#if (defined PHP_WIN32 || defined NETWARE)
|
||||
/* handle old style win smtp sending */
|
||||
if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, headers, subject, to, message, NULL, NULL, NULL) == FAILURE) {
|
||||
|
||||
Reference in New Issue
Block a user