Fix comments

This commit is contained in:
tycho
2015-05-24 14:58:24 +01:00
parent 95b81b3ef1
commit 76a3165f09
6 changed files with 73 additions and 63 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ static int tolua_cNetwork_CreateUDPEndpoint(lua_State * L)
UInt16 Port;
// Check validity:
if (S.GetStackValues(2, Port))
if (!S.GetStackValues(2, Port))
{
LOGWARNING("cNetwork:CreateUDPEndpoint() called with invalid port, failing the request.");
S.Push(false);