changeset 2261:c4b16f107f19

fix
author amazy
date Thu, 02 Feb 2017 21:32:44 +0100
parents a7a4fd44286c
children 6d425452247e
files Core/Lua/LuaContext.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Lua/LuaContext.cpp	Thu Feb 02 21:18:59 2017 +0100
+++ b/Core/Lua/LuaContext.cpp	Thu Feb 02 21:32:44 2017 +0100
@@ -238,7 +238,7 @@
 
     // Check the types of the arguments
     int nArgs = lua_gettop(state);
-    if ((nArgs < 1 or nArgs > 2) ||         // check args count
+    if ((nArgs < 1 || nArgs > 2) ||         // check args count
        !lua_isstring(state, 1))             // URL is a string
     {
       LOG(ERROR) << "Lua: Bad parameters to HttpGet()";