]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix lua build
authorMichael Jerris <mike@jerris.com>
Fri, 26 Sep 2008 17:26:36 +0000 (17:26 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 26 Sep 2008 17:26:36 +0000 (17:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9660 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_lua/lua/loslib.c

index d29785756cc310e652960a08e0d6ed8a53a1b529..025d494abaa4941d67470a6f3d73d5ba60899f05 100644 (file)
@@ -36,7 +36,7 @@ static int os_pushresult (lua_State *L, int i, const char *filename) {
 
 
 static int os_execute (lua_State *L) {
-  lua_pushinteger(L, switch_system(luaL_optstring(L, 1, NULL), SWITCH_TRUE));
+  lua_pushinteger(L, switch_system(luaL_optstring(L, 1, NULL), 1));
   return 1;
 }