diff options
author | pixel <pixel> | 2007-05-30 18:59:30 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-05-30 18:59:30 +0000 |
commit | 27d838b042df431a9f3fe0ca44da4ef094653526 (patch) | |
tree | 8611e1fc75e05b122ee571636212cc882970babe | |
parent | 466d10f7f0e389924bc0d19dc67ad0730e58d721 (diff) |
Adding status return code.
-rw-r--r-- | lib/LuaTask.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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 <LuaTask.h> #include <LuaHandle.h> @@ -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 |