diff src/util.c @ 10506:4f67724c207c

[gaim-migrate @ 11800] This makes prevents CR being added to the files and messing up the st.st_size comparison to the bytes written committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 12 Jan 2005 03:41:29 +0000
parents e94802fe3eaf
children 12349012610b
line wrap: on
line diff
--- a/src/util.c	Tue Jan 11 21:51:26 2005 +0000
+++ b/src/util.c	Wed Jan 12 03:41:29 2005 +0000
@@ -1985,7 +1985,7 @@
 	}
 
 	/* Open file */
-	file = fopen(filename_temp, "w");
+	file = fopen(filename_temp, "wb");
 	if (file == NULL)
 	{
 		gaim_debug_error("util", "Error opening file %s for writing: %s\n",