Software /
code /
prosody
Comparison
net/server_select.lua @ 2233:459c1d1cae95
net.server_select: Rename server.setsend() to server.set_send() for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Nov 2009 22:08:47 +0000 |
parent | 2131:72411e239221 |
child | 2250:3196dabe8a36 |
comparison
equal
deleted
inserted
replaced
2232:aa8db84ae69d | 2233:459c1d1cae95 |
---|---|
425 end | 425 end |
426 handler.pattern = function( self, new ) | 426 handler.pattern = function( self, new ) |
427 pattern = new or pattern | 427 pattern = new or pattern |
428 return pattern | 428 return pattern |
429 end | 429 end |
430 handler.setsend = function ( self, newsend ) | 430 handler.set_send = function ( self, newsend ) |
431 send = newsend or send | 431 send = newsend or send |
432 return send | 432 return send |
433 end | 433 end |
434 handler.bufferlen = function( self, readlen, sendlen ) | 434 handler.bufferlen = function( self, readlen, sendlen ) |
435 maxsendlen = sendlen or maxsendlen | 435 maxsendlen = sendlen or maxsendlen |