diff options
Diffstat (limited to 'libs/nixio/src/bind.c')
-rw-r--r-- | libs/nixio/src/bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/nixio/src/bind.c b/libs/nixio/src/bind.c index 7b2b719e33..81ab0bb480 100644 --- a/libs/nixio/src/bind.c +++ b/libs/nixio/src/bind.c @@ -261,7 +261,7 @@ static int nixio_sock_accept(lua_State *L) { if (!nixio__addr_parse(&addr, (struct sockaddr *)&saddr)) { lua_pushstring(L, addr.host); - lua_pushnumber(L, addr.port); + lua_pushinteger(L, addr.port); return 3; } else { return 1; |