Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu- committed Sep 6, 2018
1 parent d772715 commit c855a14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
(struct sockaddr *) &udp_new_addr_in, &udp_new_addr_len)) == -1) {
mylog(log_warn,"recv_from error,%s\n",get_sock_error());
return -1;
//myexit(1);
};

Expand Down

0 comments on commit c855a14

Please sign in to comment.