Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 5769:f6ea5b3739c9
mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Aug 2013 14:32:31 +0200 |
parent | 5672:0c68cea74d5d |
child | 5770:7722372aa087 |
child | 6016:eb05360e8525 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Tue Aug 06 14:31:20 2013 +0200 +++ b/plugins/mod_admin_telnet.lua Tue Aug 06 14:32:31 2013 +0200 @@ -673,7 +673,7 @@ -- 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,