Browse Source

- Please do not use spaces for indentation!

- Removed redundend ifdefs
migration/unlabaled-1.1.2
Derick Rethans 24 years ago
parent
commit
dc3ea09991
  1. 2
      ext/standard/link.c
  2. 2
      ext/standard/mail.c

2
ext/standard/link.c

@ -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

2
ext/standard/mail.c

@ -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) {

Loading…
Cancel
Save