From 27d838b042df431a9f3fe0ca44da4ef094653526 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 30 May 2007 18:59:30 +0000 Subject: Adding status return code. --- lib/LuaTask.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc index 275f4d8..f6f459d 100644 --- a/lib/LuaTask.cc +++ b/lib/LuaTask.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaTask.cc,v 1.9 2007-05-30 11:57:10 pixel Exp $ */ +/* $Id: LuaTask.cc,v 1.10 2007-05-30 18:59:30 pixel Exp $ */ #include #include @@ -104,7 +104,8 @@ int LuaTask::Do() throw (GeneralException) { delete p; LuaBuffer o(b); o.pushdestruct(L); - nargs = 1; + L->push((lua_Number) estatus); + nargs = 2; } #endif -- cgit v1.2.3