Diff

core/certmanager.lua @ 4925:55f6e0673e33

certmanager: Add quotes around cert file path when logging.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 12 Jun 2012 17:02:35 +0500
parent 4900:d885ca14362d
child 4990:75fe91372f92
line wrap: on
line diff
--- a/core/certmanager.lua	Tue Jun 12 16:55:27 2012 +0500
+++ b/core/certmanager.lua	Tue Jun 12 17:02:35 2012 +0500
@@ -78,7 +78,7 @@
 			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