cvs: php4 /ext/standard link.c mail.c
| From: | Derick Rethans | Date: | Fri, 06 Sep 2002 07:30:52 +0000 |
| Subject: | cvs: php4 /ext/standard link.c mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13871@lists.php.net to get a copy of this message | ||
derick Fri Sep 6 03:30:52 2002 EDT
Modified files:
/php4/ext/standard link.c mail.c
Log:
- Please do not use spaces for indentation!
- Removed redundend ifdefs
Index: php4/ext/standard/link.c
diff -u php4/ext/standard/link.c:1.39 php4/ext/standard/link.c:1.40
--- php4/ext/standard/link.c:1.39 Fri Sep 6 03:27:27 2002
+++ php4/ext/standard/link.c Fri Sep 6 03:30:51 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: link.c,v 1.39 2002/09/06 07:27:27 hyanantha Exp $ */
+/* $Id: link.c,v 1.40 2002/09/06 07:30:51 derick Exp $ */
#include "php.h"
#include "php_filestat.h"
@@ -82,7 +82,7 @@
{
zval **filename;
#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
- struct stat_libc sb;
+ struct stat_libc sb;
#else
struct stat sb;
#endif
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.62 php4/ext/standard/mail.c:1.63
--- php4/ext/standard/mail.c:1.62 Fri Sep 6 03:27:27 2002
+++ php4/ext/standard/mail.c Fri Sep 6 03:30:51 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.62 2002/09/06 07:27:27 hyanantha Exp $ */
+/* $Id: mail.c,v 1.63 2002/09/06 07:30:51 derick Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -142,7 +142,6 @@
*/
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 @@
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) {