Software /
code /
prosody
Comparison
net/server_select.lua @ 2424:7d3b071e3b5b
net.server_select: Fix oops in last commit
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 16:20:56 +0000 |
parent | 2423:0597c553acf2 |
child | 2452:2a51031c9ca3 |
comparison
equal
deleted
inserted
replaced
2423:0597c553acf2 | 2424:7d3b071e3b5b |
---|---|
903 end | 903 end |
904 end | 904 end |
905 end | 905 end |
906 ) | 906 ) |
907 | 907 |
908 local function set_logger(new_logger) | 908 local function setlogger(new_logger) |
909 local old_logger = log; | 909 local old_logger = log; |
910 if new_logger then | 910 if new_logger then |
911 log = new_logger; | 911 log = new_logger; |
912 end | 912 end |
913 return old_logger; | 913 return old_logger; |