This commit is contained in:
wangyu 2017-08-18 00:50:56 +08:00
parent eea016cab4
commit a33133c3de
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ int read_file(const char * file,char * &output)
else if(len<0) else if(len<0)
{ {
buf[0]=0; buf[0]=0;
mylog(log_error,"read fail %d\n"); mylog(log_error,"read fail %d\n",len);
return -3; return -3;
} }
else else

View File

@ -993,7 +993,7 @@ int client_on_timer(conn_info_t &conn_info) //for client
{ {
if(new_ip!=source_ip_uint32) if(new_ip!=source_ip_uint32)
{ {
mylog(log_info,"source ip changed from %s to",my_ntoa(source_ip_uint32)); mylog(log_info,"source ip changed from %s to ",my_ntoa(source_ip_uint32));
log_bare(log_info,"%s\n",my_ntoa(new_ip)); log_bare(log_info,"%s\n",my_ntoa(new_ip));
source_ip_uint32=new_ip; source_ip_uint32=new_ip;
send_info.src_ip=new_ip; send_info.src_ip=new_ip;