From 4463e21d9ecdec5dfbdf1236f8b731bbebe4f0f7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Jun 2018 15:13:03 +0000 Subject: [PATCH] fixed a log --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 54e6e5e..5a67b2e 100755 --- a/main.cpp +++ b/main.cpp @@ -1787,9 +1787,9 @@ int main(int argc, char *argv[]) #else { //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); 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