fixed a statistic error when --disable-fec is used

This commit is contained in:
wangyu- 2017-11-26 02:35:27 -06:00
parent 5839aebbf6
commit d2bb8f31f4

View File

@ -140,8 +140,6 @@ int from_normal_to_fec(conn_info_t & conn_info,char *data,int len,int & out_n,ch
}
}
}
mylog(log_trace,"from_normal_to_fec input_len=%d,output_n=%d\n",len,out_n);
if(out_n>0)
@ -158,6 +156,10 @@ int from_normal_to_fec(conn_info_t & conn_info,char *data,int len,int & out_n,ch
}
log_bare(log_trace,"\n");
}
//for(int i=0;i<n;i++)
//{
//delay_send(0,dest,s_arr[i],s_len);