aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commita60f6500eac1b42712c540a69b3c1e6248fcdd93 (patch)
tree8d0f0fe90fe8d72bd718cb0f5e21de5605cbea59 /net
parent360e6eeeeb37625d3fd1a87e2fae9d99068a1d53 (diff)
downloadprosody-a60f6500eac1b42712c540a69b3c1e6248fcdd93.tar.gz
prosody-a60f6500eac1b42712c540a69b3c1e6248fcdd93.zip
net.server_select: Remove extraneous variable
Diffstat (limited to 'net')
-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 )