Software /
code /
prosody
Comparison
plugins/mod_admin_telnet.lua @ 5770:7722372aa087
Merge 0.9->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Aug 2013 14:35:03 +0200 |
parent | 5710:e66bbfdf588e |
parent | 5769:f6ea5b3739c9 |
child | 5776:bd0ff8ae98a8 |
comparison
equal
deleted
inserted
replaced
5765:d854c17a45fd | 5770:7722372aa087 |
---|---|
668 | 668 |
669 -- As much as it pains me to use the 0-based depths that OpenSSL does, | 669 -- As much as it pains me to use the 0-based depths that OpenSSL does, |
670 -- I think there's going to be more confusion among operators if we | 670 -- I think there's going to be more confusion among operators if we |
671 -- break from that. | 671 -- break from that. |
672 local function print_errors(print, errors) | 672 local function print_errors(print, errors) |
673 for depth, t in ipairs(errors) do | 673 for depth, t in pairs(errors) do |
674 print( | 674 print( |
675 (" %d: %s"):format( | 675 (" %d: %s"):format( |
676 depth-1, | 676 depth-1, |
677 table.concat(t, "\n| ") | 677 table.concat(t, "\n| ") |
678 ) | 678 ) |