r11114 - prelude-correlator/trunk/plugins/lua

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2009-04-06 12:49:26 +0200 (Mon, 06 Apr 2009)
New Revision: 11114

Modified:
   prelude-correlator/trunk/plugins/lua/lib.lua
Log:
Fix Lua compilation problem.

Modified: prelude-correlator/trunk/plugins/lua/lib.lua
===================================================================
--- prelude-correlator/trunk/plugins/lua/lib.lua	2009-04-03 14:45:24 UTC (rev 11113)
+++ prelude-correlator/trunk/plugins/lua/lib.lua	2009-04-06 10:49:26 UTC (rev 11114)
@@ -107,11 +107,11 @@
 
 -- Utility function
 --
-function _table.dump(depth, result)
+function table._dump(depth, result)
    for i,v in pairs(result) do
         if type(v) == "table" then
                 for x=0,depth-1 do io.write("\t") end io.write(i, " table") print(":")
-                _table_dump(depth + 1, v)
+                table._dump(depth + 1, v)
         else
                 for x=0,depth-1 do io.write("\t") end print(i, v or "<nil>")
         end
@@ -122,7 +122,7 @@
 function table.dump(result)
     print "***********************"
     if result then
-        _table.dump(0, result)
+        table._dump(0, result)
     else
         print("table is nil")
     end

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.