Diff

core/certmanager.lua @ 7160:5c1ee8c06235

certmanager: Localize tonumber
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Feb 2016 13:48:45 +0000
parent 7145:b1a109858502
child 7319:afa83f3ccaad
line wrap: on
line diff
--- a/core/certmanager.lua	Thu Feb 18 13:21:12 2016 +0000
+++ b/core/certmanager.lua	Thu Feb 18 13:48:45 2016 +0000
@@ -25,7 +25,7 @@
 local new_config = require"util.sslconfig".new;
 local stat = require "lfs".attributes;
 
-local tostring = tostring;
+local tonumber, tostring = tonumber, tostring;
 local pairs = pairs;
 local type = type;
 local io_open = io.open;