Diff

core/portmanager.lua @ 4861:2ee71fa500d6

portmanager: Fix missing variable declaration
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 23:20:58 +0100
parent 4857:0991a127ac43
child 4897:1a90e5225b22
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