mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-11-26 22:55:37 +08:00
fixed conv clear bug caused by rehash
This commit is contained in:
@@ -62,7 +62,7 @@ int delay_manager_t::add(my_time_t delay,const dest_t &dest,char *data,int len)
|
||||
}
|
||||
|
||||
delay_data_t tmp=delay_data;
|
||||
tmp.data=(char *)malloc(delay_data.len);
|
||||
tmp.data=(char *)malloc(delay_data.len+100);
|
||||
|
||||
memcpy(tmp.data,delay_data.data,delay_data.len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user