Changeset

10:a336f0082376

renaming _ to sock to improve readability
author Tobias Markmann <tm@ayena.de>
date Mon, 25 Aug 2008 00:35:54 +0200
parents 9:cb210ac67af8 (diff) 8:df55ccd2e154 (current diff)
children 11:67460500abdd
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/server.lua	Sun Aug 24 22:51:01 2008 +0100
+++ b/server.lua	Mon Aug 25 00:35:54 2008 +0200
@@ -553,10 +553,10 @@
 end
 
 closeall = function( )
-    for _, handler in pairs( socketlist ) do
+    for sock, handler in pairs( socketlist ) do
         handler.shutdown( )
         handler.close( )
-        socketlist[ _ ] = nil
+        socketlist[ sock ] = nil
     end
     writelist, readlist, socketlist = { }, { }, { }
 end