fix log format

This commit is contained in:
wangyu- 2018-06-05 19:37:09 -05:00
parent 3862e5a4e2
commit be8e42af1b

View File

@ -1787,7 +1787,7 @@ 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",remote_ip); 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);
} }