summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modjni.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/modjni.c')
-rw-r--r--unix/modjni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/modjni.c b/unix/modjni.c
index cd3b6616e4..d5ad55eb5f 100644
--- a/unix/modjni.c
+++ b/unix/modjni.c
@@ -332,7 +332,7 @@ STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool
int name_len = strlen(name);
if (strncmp(name, meth_name, name_len/*arg_types - meth_name - 1*/) || meth_name[name_len] != '('/*(*/) {
- continue;
+ goto next_method;
}
}
// printf("method[%d]=%p %s\n", i, meth, decl);