Skip to content

Commit

Permalink
Push error string argument in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 26, 2018
1 parent 77e500c commit 717ee97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/asyncsocket.c
Expand Up @@ -580,11 +580,11 @@ static void connect_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *asyn
tc->instance->VMString, uv_strerror(r));
MVMObject *msg_box = MVM_repr_box_str(tc,
tc->instance->boot_types.BOOTStr, msg_str);
MVM_repr_push_o(tc, arr, msg_box);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTStr);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTInt);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTStr);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTInt);
MVM_repr_push_o(tc, arr, msg_box);
});
MVM_repr_push_o(tc, t->body.queue, arr);
});
Expand Down

0 comments on commit 717ee97

Please sign in to comment.