[Zrouter-src] ZRouter.org: push to ZRouter contrib/spcdns/src/luadns.c

zrouter-src at zrouter.org zrouter-src at zrouter.org
Wed Sep 19 21:39:13 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/f98546ddb422
changeset: 434:f98546ddb422
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Thu Sep 20 00:42:15 2012 +0300
description:
Add luaopen_dns alias for luaopen_org_conman_dns to allow call module from
just lua lib directory. Originally it require LIBDIR/org/common/dns.so path.

diffstat:

 contrib/spcdns/src/luadns.c |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 8284e9318ef7 -r f98546ddb422 contrib/spcdns/src/luadns.c
--- a/contrib/spcdns/src/luadns.c	Thu Sep 20 00:39:22 2012 +0300
+++ b/contrib/spcdns/src/luadns.c	Thu Sep 20 00:42:15 2012 +0300
@@ -768,3 +768,10 @@
 
 /**********************************************************************/
 
+int luaopen_dns(lua_State *L)
+{
+  return (luaopen_org_conman_dns(L));
+}
+
+/**********************************************************************/
+


More information about the Zrouter-src mailing list