projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b875c
)
certmanager: Localize tonumber
author
Matthew Wild
<mwild1@gmail.com>
Thu, 18 Feb 2016 13:48:45 +0000
(13:48 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Thu, 18 Feb 2016 13:48:45 +0000
(13:48 +0000)
core/certmanager.lua
patch
|
blob
|
history
diff --git
a/core/certmanager.lua
b/core/certmanager.lua
index 978a9efcfd4ba0209b8217cc97dcc5095fc336a9..a4c9d891cbc2424003bdfb07681a5b8d1cb1a08b 100644
(file)
--- a/
core/certmanager.lua
+++ b/
core/certmanager.lua
@@
-25,7
+25,7
@@
local ssl_newcontext = ssl.newcontext;
local new_config = require"util.sslconfig".new;
local stat = require "lfs".attributes;
-local to
string =
tostring;
+local to
number, tostring = tonumber,
tostring;
local pairs = pairs;
local type = type;
local io_open = io.open;