Revert "udp socket bugfix (#1640)"

This reverts commit 2a8c095e38.
This commit is contained in:
Cloud Wu
2022-09-03 22:02:45 +08:00
parent 2a8c095e38
commit 6dda5f7f98
5 changed files with 6 additions and 7 deletions

View File

@@ -2070,7 +2070,7 @@ socket_server_userobject(struct socket_server *ss, struct socket_object_interfac
// UDP
int
socket_server_udp(struct socket_server *ss, uintptr_t opaque, const char * addr, int *port) {
socket_server_udp(struct socket_server *ss, uintptr_t opaque, const char * addr, int port) {
int fd;
int family;
if (port != 0 || addr != NULL) {