aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-22 23:39:27 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-22 23:39:27 +0100
commitf6ec86d69006bbcfc3a7d74f68fbc9cbdfc1b97f (patch)
tree8d0f0fe90fe8d72bd718cb0f5e21de5605cbea59
parentc48d02e1d0e4176941585f144cbe6000101ae5f4 (diff)
downloadprosody-f6ec86d69006bbcfc3a7d74f68fbc9cbdfc1b97f.tar.gz
prosody-f6ec86d69006bbcfc3a7d74f68fbc9cbdfc1b97f.zip
net.server_select: Remove extraneous variable
-rw-r--r--net/server_select.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 990188a1..025f145d 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -475,7 +475,6 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
end
local _sendbuffer = function( ) -- this function sends data
local succ, err, byte, buffer, count;
- local count;
if socket then
buffer = table_concat( bufferqueue, "", 1, bufferqueuelen )
succ, err, byte = send( socket, buffer, 1, bufferlen )