Changeset

1383:465e5d79551b

mod_s2s_auth_dane: Improve debug message and log it on the session
author Kim Alvefur <zash@zash.se>
date Thu, 10 Apr 2014 22:40:11 +0200
parents 1382:ba17268490b7
children 1384:f67eacb1ac9f
files mod_s2s_auth_dane/mod_s2s_auth_dane.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Tue Apr 08 17:28:08 2014 +0200
+++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Thu Apr 10 22:40:11 2014 +0200
@@ -114,7 +114,7 @@
 		host_session.log("debug", "Pausing connection until DANE lookup is completed");
 		host_session.conn:pause()
 		local function resume()
-			module:log("debug", "Resuming connection");
+			host_session.log("debug", "DANE lookup completed, resuming connection");
 			host_session.conn:resume()
 		end
 		if not dane_lookup(host_session, resume) then