From c552a6fddf0818f5105efd4ee15c8621e9d83a63 Mon Sep 17 00:00:00 2001 From: wangyu Date: Sun, 23 Jul 2017 03:02:46 +0800 Subject: [PATCH] trival --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index b990101..2dd6c55 100755 --- a/main.cpp +++ b/main.cpp @@ -1851,7 +1851,7 @@ int recv_safe(packet_info_t &info,char* data,int len) } -int send_bare_data(packet_info_t &info,char* data,int len) +int send_bare_old(packet_info_t &info,char* data,int len) { char send_data_buf[buf_len]; //buf for send data and send hb char send_data_buf2[buf_len]; @@ -2033,7 +2033,7 @@ int keep_connection_client() //for client retry_counter = RETRY_TIME; g_packet_info_send.icmp_seq=0; - send_bare_data(g_packet_info_send, (char*)"hello", strlen("hello")); + send_bare_old(g_packet_info_send, (char*)"hello", strlen("hello")); } } @@ -2072,7 +2072,7 @@ int keep_connection_client() //for client } else if(raw_mode==mode_udp||raw_mode==mode_icmp) { - send_bare_data(g_packet_info_send, (char*)"hello", strlen("hello")); + send_bare_old(g_packet_info_send, (char*)"hello", strlen("hello")); } last_state_time=get_current_time(); printf("retry send ack counter left:%d\n",retry_counter);