diff --git a/misc.cpp b/misc.cpp index e9715d8..f56e2d5 100644 --- a/misc.cpp +++ b/misc.cpp @@ -292,9 +292,7 @@ int handle_command(char *s) mylog(log_warn,"failed to parse [%s]\n",tmp_str); return -1; } - int version=g_fec_par.version; - g_fec_par.clone(tmp_par); - g_fec_par.version=version; + g_fec_par.clone_fec(tmp_par); g_fec_par.version++; strcpy(rs_par_str,tmp_str); //g_fec_data_num=a;