From: Zeev Suraski Date: Sun, 6 Aug 2000 21:38:41 +0000 (+0000) Subject: Fix & optimize X-Git-Tag: php-4.0.2RC1~213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f59cbb9ed136e013b43d0a7f8fec7fd4bbb5e69a;p=php Fix & optimize --- diff --git a/win32/sendmail.c b/win32/sendmail.c index 9344a988c5..402ef87afa 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -413,11 +413,10 @@ int MailConnect() } */ - 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;