mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix warning
This commit is contained in:
parent
f59cbb9ed1
commit
97cb10bc9e
1 changed files with 2 additions and 2 deletions
|
@ -395,7 +395,7 @@ int MailConnect()
|
|||
{
|
||||
|
||||
int res;
|
||||
int portnum;
|
||||
short portnum;
|
||||
|
||||
/* Create Socket */
|
||||
if ((sc = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
|
||||
|
@ -413,7 +413,7 @@ int MailConnect()
|
|||
}
|
||||
*/
|
||||
|
||||
portnum = INI_INT("sendmail_port");
|
||||
portnum = (short) INI_INT("sendmail_port");
|
||||
if (!portnum) {
|
||||
portnum = 25;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue