[dongle commit] r674 - in branches: Dongle-1.0 Dongle-1.1 Dongle-1.2

2 views
Skip to first unread message

codesite...@google.com

unread,
Nov 18, 2008, 5:36:57 PM11/18/08
to dongle...@googlegroups.com
Author: jnwhiteh
Date: Tue Nov 18 14:35:54 2008
New Revision: 674

Modified:
branches/Dongle-1.0/Dongle.lua
branches/Dongle-1.1/Dongle.lua
branches/Dongle-1.2/Dongle.lua

Log:
* Fix for a typo in :GetProfiles() error checking


Modified: branches/Dongle-1.0/Dongle.lua
==============================================================================
--- branches/Dongle-1.0/Dongle.lua (original)
+++ branches/Dongle-1.0/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -761,7 +761,7 @@

function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")

-- Clear the container table
if tbl then

Modified: branches/Dongle-1.1/Dongle.lua
==============================================================================
--- branches/Dongle-1.1/Dongle.lua (original)
+++ branches/Dongle-1.1/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -898,7 +898,7 @@

function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")

-- Clear the container table
if tbl then

Modified: branches/Dongle-1.2/Dongle.lua
==============================================================================
--- branches/Dongle-1.2/Dongle.lua (original)
+++ branches/Dongle-1.2/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -902,7 +902,7 @@

function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")

-- Clear the container table
if tbl then

Reply all
Reply to author
Forward
0 new messages