luaa: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
06905f515e
commit
eb8c36b5c0
2
lua.c
2
lua.c
|
@ -820,7 +820,7 @@ luaA_cb(EV_P_ ev_io *w, int revents)
|
|||
s = lua_tolstring(globalconf.L, -1, &len);
|
||||
|
||||
/* ignore ENOENT because the client may not read */
|
||||
if (send(w->fd, s, len, 0) == -1) && errno != ENOENT)
|
||||
if (send(w->fd, s, len, 0) == -1 && errno != ENOENT)
|
||||
warn("can't send back to client via domain socket: %s", strerror(errno));
|
||||
|
||||
lua_pop(globalconf.L, 1); /* pop the string */
|
||||
|
|
Loading…
Reference in New Issue