mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-31 20:29:36 +08:00
bug fix
This commit is contained in:
parent
d77271540f
commit
c855a14ae8
@ -514,6 +514,7 @@ int client_on_udp_recv(conn_info_t &conn_info)
|
|||||||
if ((recv_len = recvfrom(udp_fd, buf, max_data_len+1, 0,
|
if ((recv_len = recvfrom(udp_fd, buf, max_data_len+1, 0,
|
||||||
(struct sockaddr *) &udp_new_addr_in, &udp_new_addr_len)) == -1) {
|
(struct sockaddr *) &udp_new_addr_in, &udp_new_addr_len)) == -1) {
|
||||||
mylog(log_warn,"recv_from error,%s\n",get_sock_error());
|
mylog(log_warn,"recv_from error,%s\n",get_sock_error());
|
||||||
|
return -1;
|
||||||
//myexit(1);
|
//myexit(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user