diff options
author | Kim Alvefur <zash@zash.se> | 2013-08-06 14:32:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-08-06 14:32:31 +0200 |
commit | a316833b30b2e58f75ca808f0006c877b52f7d01 (patch) | |
tree | 862e12621cdd1148557645a13d0b8d310acf90f7 /plugins/mod_admin_telnet.lua | |
parent | 22ad7256badd0edd7ef17309c8e4df7299decddd (diff) | |
download | prosody-a316833b30b2e58f75ca808f0006c877b52f7d01.tar.gz prosody-a316833b30b2e58f75ca808f0006c877b52f7d01.zip |
mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index b942e9bd..131689c5 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -673,7 +673,7 @@ end -- I think there's going to be more confusion among operators if we -- break from that. local function print_errors(print, errors) - for depth, t in ipairs(errors) do + for depth, t in pairs(errors) do print( (" %d: %s"):format( depth-1, |