cvs: php4 /win32 sendmail.c
| From: | Zeev Suraski | Date: | Sun, 06 Aug 2000 21:38:41 +0000 |
| Subject: | cvs: php4 /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1073@lists.php.net to get a copy of this message | ||
zeev Sun Aug 6 14:38:41 2000 EDT
Modified files:
/php4/win32 sendmail.c
Log:
Fix & optimize
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.17 php4/win32/sendmail.c:1.18
--- php4/win32/sendmail.c:1.17 Sun Aug 6 10:49:41 2000
+++ php4/win32/sendmail.c Sun Aug 6 14:38:41 2000
@@ -413,11 +413,10 @@
}
*/
- if (INI_INT("sendmail_port")){
- portnum = INI_INT("sendmail_port"));
- } else {
+ portnum = INI_INT("sendmail_port");
+ if (!portnum) {
portnum = 25;
- }
+ }
/* Connect to server */
sock_in.sin_family = AF_INET;