diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-02-04 14:29:11 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-02-04 14:29:11 +0000 |
commit | 0b2542d1a61fc5425ff65ab3dbf7ba7de174763f (patch) | |
tree | 8a6188e11db0c9ef6891c31e8a1bebca050b23b2 /src/timeout.c | |
parent | f67864f86c7d703325e86b14d0ba33992c52891b (diff) | |
download | luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.gz luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.bz2 luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.zip |
Worked on the manual.
Implemented stuffing (needs test)
Added cddb and qp examples.
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c index 83bffc9..73a1146 100644 --- a/src/timeout.c +++ b/src/timeout.c | |||
@@ -141,10 +141,11 @@ int tm_gettime(void) | |||
141 | /*-------------------------------------------------------------------------*\ | 141 | /*-------------------------------------------------------------------------*\ |
142 | * Initializes module | 142 | * Initializes module |
143 | \*-------------------------------------------------------------------------*/ | 143 | \*-------------------------------------------------------------------------*/ |
144 | void tm_open(lua_State *L) | 144 | int tm_open(lua_State *L) |
145 | { | 145 | { |
146 | luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); | 146 | luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); |
147 | lua_pop(L, 1); | 147 | lua_pop(L, 1); |
148 | return 0; | ||
148 | } | 149 | } |
149 | 150 | ||
150 | /*-------------------------------------------------------------------------*\ | 151 | /*-------------------------------------------------------------------------*\ |