summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-30 18:59:30 +0000
committerpixel <pixel>2007-05-30 18:59:30 +0000
commit27d838b042df431a9f3fe0ca44da4ef094653526 (patch)
tree8611e1fc75e05b122ee571636212cc882970babe
parent466d10f7f0e389924bc0d19dc67ad0730e58d721 (diff)
Adding status return code.
-rw-r--r--lib/LuaTask.cc5
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