mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
delete unused codes, reduce diff with non-mp version
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -53,6 +53,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
pre_process_arg(argc,argv);
|
||||
|
||||
if(program_mode==client_mode)
|
||||
{
|
||||
struct ev_loop* loop=ev_default_loop(0);
|
||||
@@ -93,7 +94,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
mylog(log_info,"remote_ip=[%s], make sure this is a vaild IP address\n",remote_addr.get_ip());
|
||||
|
||||
init_random_number_fd();
|
||||
//init_random_number_fd();
|
||||
srand(get_true_random_number_nz());
|
||||
const_id=get_true_random_number_nz();
|
||||
|
||||
|
Reference in New Issue
Block a user