Skip to content

Commit 55aa000

Browse files
committed
fix bug
1 parent 5d78150 commit 55aa000

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/raspberrypi/common-hal/socketpool

ports/raspberrypi/common-hal/socketpool/Socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ socketpool_socket_obj_t *common_hal_socketpool_socket(socketpool_socketpool_obj_
737737
socketpool_socket_obj_t *socket = m_new_ll_obj_with_finaliser(socketpool_socket_obj_t);
738738
socket->base.type = &socketpool_socket_type;
739739

740-
if (!socketpool_socket(self, family, type, proto socket)) {
740+
if (!socketpool_socket(self, family, type, proto, socket)) {
741741
mp_raise_RuntimeError(translate("Out of sockets"));
742742
}
743743
mark_user_socket(socket);

0 commit comments

Comments
 (0)