diff libpurple/certificate.c @ 23986:1de1494a13e5

propagate from branch 'im.pidgin.pidgin' (head e685599ddcc769d157547685b5498df0662de8a2) to branch 'im.pidgin.xmpp.custom_smiley' (head 110555eba89887adcf842166213ffc82770c0ee4)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 04 Sep 2008 21:27:33 +0000
parents 11f98b1e605b
children e265e7066598 945a04f3019e
line wrap: on
line diff
--- a/libpurple/certificate.c	Wed Jun 11 15:20:16 2008 +0000
+++ b/libpurple/certificate.c	Thu Sep 04 21:27:33 2008 +0000
@@ -746,7 +746,7 @@
 						   "ca-certs", NULL));
 #else
 # ifdef SSL_CERTIFICATES_DIR
-		x509_ca_paths = g_list_append(NULL, SSL_CERTIFICATES_DIR);
+		x509_ca_paths = g_list_append(NULL, g_strdup(SSL_CERTIFICATES_DIR));
 # else
 		x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR,
 						   "purple", "ca-certs", NULL));
@@ -1485,7 +1485,7 @@
 
 	if (!tls_peers) {
 		purple_debug_error("certificate/x509/tls_cached",
-				   "Couldn't find local peers cache %s\nPrompting the user\n",
+				   "Couldn't find local peers cache %s\n",
 				   tls_peers_name);