We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b330989 commit f960c5bCopy full SHA for f960c5b
shared-module/ssl/SSLSocket.c
@@ -154,9 +154,9 @@ static int ssl_socket_close(ssl_sslsocket_obj_t *self) {
154
return call_method_errno(0, self->close_args);
155
}
156
157
-static int ssl_socket_settimeout(ssl_sslsocket_obj_t *self, mp_obj_t timeout_obj) {
+static void ssl_socket_settimeout(ssl_sslsocket_obj_t *self, mp_obj_t timeout_obj) {
158
self->settimeout_args[2] = timeout_obj;
159
- return call_method_errno(1, self->settimeout_args);
+ return mp_call_method_n_kw(1, 0, self->settimeout_args);
160
161
162
static int ssl_socket_listen(ssl_sslsocket_obj_t *self, mp_int_t backlog) {
0 commit comments