Changeset

4861:2ee71fa500d6

portmanager: Fix missing variable declaration
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 23:20:58 +0100
parents 4860:b66e73793cb7
children 4862:d1cfdb137b03
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Fri May 11 21:41:47 2012 +0100
+++ b/core/portmanager.lua	Fri May 11 23:20:58 2012 +0100
@@ -102,7 +102,7 @@
 		    or listener.default_port -- COMPAT w/pre-0.9
 		   });
 
-	local mode = listener.default_mode or "*a";
+	local mode, ssl = listener.default_mode or "*a";
 	
 	for interface in bind_interfaces do
 		for port in bind_ports do