Software /
code /
prosody
Comparison
net/server_select.lua @ 4393:7958680c459a
net.server_select: Minor whitespace fix.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 13 Oct 2011 00:11:17 +0500 |
parent | 4388:eded80beab58 |
child | 4399:1b4161970842 |
comparison
equal
deleted
inserted
replaced
4392:d2a7a44d68c5 | 4393:7958680c459a |
---|---|
464 return dispatch( handler, buffer, err ) | 464 return dispatch( handler, buffer, err ) |
465 else -- connections was closed or fatal error | 465 else -- connections was closed or fatal error |
466 out_put( "server.lua: client ", tostring(ip), ":", tostring(clientport), " read error: ", tostring(err) ) | 466 out_put( "server.lua: client ", tostring(ip), ":", tostring(clientport), " read error: ", tostring(err) ) |
467 fatalerror = true | 467 fatalerror = true |
468 disconnect( handler, err ) | 468 disconnect( handler, err ) |
469 _ = handler and handler:close( ) | 469 _ = handler and handler:close( ) |
470 return false | 470 return false |
471 end | 471 end |
472 end | 472 end |
473 local _sendbuffer = function( ) -- this function sends data | 473 local _sendbuffer = function( ) -- this function sends data |
474 local succ, err, byte, buffer, count; | 474 local succ, err, byte, buffer, count; |