aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-06-12 17:02:35 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-06-12 17:02:35 +0500
commitb0dbc823ea3972c0bffa1dd1a17e32aa6d5d0461 (patch)
tree7749463bb2b3075a655099ee5a006d6cf99f7f95
parentd4f65abf04ba0276cf9eb7f9f2cacb546ec15827 (diff)
downloadprosody-b0dbc823ea3972c0bffa1dd1a17e32aa6d5d0461.tar.gz
prosody-b0dbc823ea3972c0bffa1dd1a17e32aa6d5d0461.zip
certmanager: Add quotes around cert file path when logging.
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index d524a07e..38092654 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -78,7 +78,7 @@ function create_context(host, mode, user_ssl_config)
else
reason = "Reason: "..tostring(reason):lower();
end
- log("error", "SSL/TLS: Failed to load %s: %s (for %s)", file, reason, host);
+ log("error", "SSL/TLS: Failed to load '%s': %s (for %s)", file, reason, host);
else
log("error", "SSL/TLS: Error initialising for %s: %s", host, err);
end