File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6488,6 +6488,7 @@ static int ZMQ_Ctx__socket__meth(lua_State *L) {
6488
6488
if ((NULL == rc_zmq_socket1 )) {
6489
6489
lua_pushnil (L );
6490
6490
lua_pushstring (L , get_zmq_strerror ());
6491
+ return 2 ;
6491
6492
} else {
6492
6493
obj_type_ZMQ_Socket_push (L , rc_zmq_socket1 , rc_zmq_socket_flags1 );
6493
6494
}
@@ -6542,6 +6543,7 @@ static int zmq__init__func(lua_State *L) {
6542
6543
if ((NULL == rc_zmq_init1 )) {
6543
6544
lua_pushnil (L );
6544
6545
lua_pushstring (L , get_zmq_strerror ());
6546
+ return 2 ;
6545
6547
} else {
6546
6548
obj_type_ZMQ_Ctx_push (L , rc_zmq_init1 , rc_zmq_init_flags1 );
6547
6549
}
@@ -6560,6 +6562,7 @@ static int zmq__init_ctx__func(lua_State *L) {
6560
6562
if ((NULL == ctx1 )) {
6561
6563
lua_pushnil (L );
6562
6564
lua_pushstring (L , get_zmq_strerror ());
6565
+ return 2 ;
6563
6566
} else {
6564
6567
obj_type_ZMQ_Ctx_push (L , ctx1 , 0 );
6565
6568
}
You can’t perform that action at this time.
0 commit comments