Software /
code /
prosody
Comparison
net/server_select.lua @ 3310:ddcab5be2a5e
net.server_select: Fix a snippet of code that was living at the wrong indentation level
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 02 Jul 2010 17:23:17 +0100 |
parent | 3008:23915803adbf |
child | 3311:88cfe1bba690 |
comparison
equal
deleted
inserted
replaced
3309:1c58cb93ef3e | 3310:ddcab5be2a5e |
---|---|
341 if handler then | 341 if handler then |
342 _writetimes[ handler ] = nil | 342 _writetimes[ handler ] = nil |
343 _closelist[ handler ] = nil | 343 _closelist[ handler ] = nil |
344 handler = nil | 344 handler = nil |
345 end | 345 end |
346 if server then | 346 if server then |
347 server.remove( ) | 347 server.remove( ) |
348 end | 348 end |
349 out_put "server.lua: closed client handler and removed socket from list" | 349 out_put "server.lua: closed client handler and removed socket from list" |
350 return true | 350 return true |
351 end | 351 end |
352 handler.ip = function( ) | 352 handler.ip = function( ) |
353 return ip | 353 return ip |