From be8e42af1b5ad2154f90223762e0839ac18e0152 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Tue, 5 Jun 2018 19:37:09 -0500 Subject: [PATCH] fix log format --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index fc6406d..54e6e5e 100755 --- a/main.cpp +++ b/main.cpp @@ -1787,7 +1787,7 @@ 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",remote_ip); + 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); }