changeset 19003:0b1a75eb5627

- GnuTLS plugin no longer uses write_data_to_file from util. It has been replaced with g_file_set_contents, which is a compatibility violation, but I don't want to deal with it now.
author William Ehlhardt <williamehlhardt@gmail.com>
date Sun, 08 Jul 2007 02:52:40 +0000
parents daeca1b9ebdb
children d4065b26dcac
files libpurple/plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c	Sun Jul 08 02:32:25 2007 +0000
+++ b/libpurple/plugins/ssl/ssl-gnutls.c	Sun Jul 08 02:52:40 2007 +0000
@@ -530,9 +530,12 @@
 	}
 
 	/* Write it out to an actual file */
-	success = purple_util_write_data_to_file(filename,
-						 out_buf,
-						 out_size);
+	/* TODO: THIS IS A COMPATIBILITY VIOLATION
+	   Look into util.c write_data_to_file. */
+	success = g_file_set_contents(filename,
+				      out_buf,
+				      out_size,
+				      NULL);
 
 	
 	g_free(out_buf);