diff options
Diffstat (limited to 'src/unixtcp.c')
-rw-r--r-- | src/unixtcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unixtcp.c b/src/unixtcp.c index 88baac0..a9c4962 100644 --- a/src/unixtcp.c +++ b/src/unixtcp.c | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | #include "lua.h" | 7 | #include "lua.h" |
8 | #include "lauxlib.h" | 8 | #include "lauxlib.h" |
9 | #include "compat.h" | ||
9 | 10 | ||
10 | #include "auxiliar.h" | 11 | #include "auxiliar.h" |
11 | #include "socket.h" | 12 | #include "socket.h" |
@@ -90,7 +91,7 @@ int unixtcp_open(lua_State *L) | |||
90 | auxiliar_add2group(L, "unixtcp{server}", "unixtcp{any}"); | 91 | auxiliar_add2group(L, "unixtcp{server}", "unixtcp{any}"); |
91 | 92 | ||
92 | luaL_setfuncs(L, func, 0); | 93 | luaL_setfuncs(L, func, 0); |
93 | return 1; | 94 | return 0; |
94 | } | 95 | } |
95 | 96 | ||
96 | /*=========================================================================*\ | 97 | /*=========================================================================*\ |