mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
fixed bug of server_clear_function called at client side
This commit is contained in:
parent
8ade602be1
commit
d6c0df17f5
@ -122,9 +122,14 @@ conn_manager_t conn_manager;
|
||||
{
|
||||
assert(blob==0);
|
||||
blob=new blob_t;
|
||||
|
||||
if(program_mode==server_mode)
|
||||
{
|
||||
blob->conv_manager.s.additional_clear_function=server_clear_function;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(program_mode==client_mode);
|
||||
}
|
||||
}
|
||||
|
||||
conn_info_t::conn_info_t(const conn_info_t&b)
|
||||
|
Loading…
x
Reference in New Issue
Block a user