File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ static int MailConnect();
118118static bool PostHeader (char * RPath , const char * Subject , const char * mailTo , zend_string * xheaders );
119119static bool Post (LPCSTR msg );
120120static int Ack (char * * server_response );
121- static unsigned long GetAddr (LPSTR szHost );
121+ static unsigned long GetAddr (const char * szHost );
122122static int FormatEmailAddress (char * Buf , char * EmailAddress , char * FormatString );
123123
124124/* This function is meant to unify the headers passed to to mail()
@@ -904,7 +904,7 @@ static int Ack(char **server_response)
904904
905905
906906//*********************************************************************
907- // Name: unsigned long GetAddr (LPSTR szHost)
907+ // Name: unsigned long GetAddr (const char * szHost)
908908// Input:
909909// Output:
910910// Description: Given a string, it will return an IP address.
@@ -915,7 +915,7 @@ static int Ack(char **server_response)
915915// Author/Date: jcar 20/9/96
916916// History:
917917//*********************************************************************
918- static unsigned long GetAddr (LPSTR szHost )
918+ static unsigned long GetAddr (const char * szHost )
919919{
920920 LPHOSTENT lpstHost ;
921921 u_long lAddr = INADDR_ANY ;
You can’t perform that action at this time.
0 commit comments