fixed a log

This commit is contained in:
root 2018-06-20 15:13:03 +00:00
parent 8aeab8cee1
commit 4463e21d9e

View File

@ -1787,9 +1787,9 @@ int main(int argc, char *argv[])
#else #else
{ {
//strncpy(remote_ip,remote_address,sizeof(remote_ip)-1); //strncpy(remote_ip,remote_address,sizeof(remote_ip)-1);
mylog(log_info,"remote_ip=[%s], make sure this is a vaild IP address\n",remote_ip);
strcpy(remote_ip,remote_address); strcpy(remote_ip,remote_address);
remote_ip_uint32=inet_addr(remote_ip); remote_ip_uint32=inet_addr(remote_ip);
mylog(log_info,"remote_ip=[%s], make sure this is a vaild IP address\n",remote_ip);
} }
#endif #endif