mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-18 22:09:35 +08:00
fixed default value
This commit is contained in:
parent
f1334aed81
commit
1f946ab705
4
misc.cpp
4
misc.cpp
@ -54,7 +54,7 @@ int tun_mtu=1500;
|
||||
int mssfix=1;
|
||||
|
||||
|
||||
char rs_par_str[rs_str_len];
|
||||
char rs_par_str[rs_str_len]="20:10";
|
||||
|
||||
|
||||
int from_normal_to_fec(conn_info_t & conn_info,char *data,int len,int & out_n,char **&out_arr,int *&out_len,my_time_t *&out_delay)
|
||||
@ -662,7 +662,7 @@ void process_arg(int argc, char *argv[])
|
||||
{NULL, 0, 0, 0}
|
||||
};
|
||||
int option_index = 0;
|
||||
assert(g_fec_par.rs_from_str((char *)"20:10")==0);
|
||||
assert(g_fec_par.rs_from_str(rs_par_str)==0);
|
||||
|
||||
for (i = 0; i < argc; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user