From 7da19138e37c4e0123860f1fecbceb80c3d2627d Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Tue, 3 Dec 2002 07:20:34 +0000 Subject: Faltam testes de ftp e smtp. O resto passa. --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index a9a9782..4260f20 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -74,7 +74,7 @@ int buf_send(lua_State *L, p_buf buf) } priv_pusherror(L, err); lua_pushnumber(L, total); -#ifdef _DEBUG +#ifdef LUASOCKET_DEBUG /* push time elapsed during operation as the last return value */ lua_pushnumber(L, tm_getelapsed(&base->base_tm)/1000.0); #endif @@ -139,7 +139,7 @@ int buf_receive(lua_State *L, p_buf buf) for ( ; arg <= top; arg++) lua_pushnil(L); /* last return is an error code */ priv_pusherror(L, err); -#ifdef _DEBUG +#ifdef LUASOCKET_DEBUG /* push time elapsed during operation as the last return value */ lua_pushnumber(L, tm_getelapsed(&base->base_tm)/1000.0); #endif -- cgit v1.2.3-55-g6feb