diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-11-09 08:24:45 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-11-09 08:24:45 +0000 |
commit | 96eab21f438281a2f8f891f743e888c45cf86aff (patch) | |
tree | 7db6241a7eab3c0c5b1ad99fc4c6916a292d20cf | |
parent | fixed client and module remove (diff) |
improved client names
git-svn-id: https://svn.spreadspace.org/gcsd/trunk@17 ac14a137-c7f1-4531-abe0-07747231d213
-rw-r--r-- | src/modules/debug_shell.lua | 2 | ||||
-rw-r--r-- | src/modules/dummy.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/debug_shell.lua b/src/modules/debug_shell.lua index 147fc54..4c0fb6c 100644 --- a/src/modules/debug_shell.lua +++ b/src/modules/debug_shell.lua @@ -125,7 +125,7 @@ function debug_shell:new(config) local client = {} client.module_instance = inst - client.name = inst.name .. ":" .. client_sock:getfd() + client.name = inst.name .. "#" .. ip .. ":" .. port client.sock = client_sock function client:process_response(response) self.sock.out_buffer = self.sock.out_buffer .. response diff --git a/src/modules/dummy.lua b/src/modules/dummy.lua index ec8adba..5114e16 100644 --- a/src/modules/dummy.lua +++ b/src/modules/dummy.lua @@ -52,7 +52,7 @@ function dummy:new(config) local client = {} client.module_instance = inst - client.name = inst.name .. ":0" + client.name = inst.name .. "#0" function client:process_response() end function client:process_timeout() end function client:get_read_handles() return handle end |