diff options
Diffstat (limited to 'rhnop-server/l_pipe.c')
-rw-r--r-- | rhnop-server/l_pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rhnop-server/l_pipe.c b/rhnop-server/l_pipe.c index 4a30ee5..1cd8e49 100644 --- a/rhnop-server/l_pipe.c +++ b/rhnop-server/l_pipe.c @@ -58,7 +58,7 @@ static int l_pipe_signal(lua_State *L) break; } - + lua_pushinteger(L, ret); return 1; } @@ -69,7 +69,7 @@ static int l_pipe_getfd(lua_State *L) luaL_error(L, "can't retreive pipe fd"); lua_pushliteral(L, "fd"); - lua_gettable(L, -2); + lua_gettable(L, -2); return 1; } @@ -112,9 +112,9 @@ static int l_pipe_consume(lua_State *L) if(len >= sizeof(data)) { ret = 0; break; - } + } } - + if(ret) lua_pushstring(L, data); else |