src/util.c

changeset 13586
04f2b57b5270
parent 13585
b0752c839d60
child 13614
fa07a6cab773
--- a/src/util.c	Tue Apr 04 23:54:19 2006 +0000
+++ b/src/util.c	Wed Apr 05 02:10:39 2006 +0000
@@ -2380,16 +2380,6 @@
 	}
 #endif
 
-	/* Remove the old file, if it exists */
-	if (g_file_test(filename_full, G_FILE_TEST_EXISTS))
-	{
-		if (g_unlink(filename_full) == -1)
-		{
-			gaim_debug_error("util", "Error removing old file %s: %s\n",
-							 filename_full, strerror(errno));
-		}
-	}
-
 	/* Rename to the REAL name */
 	if (g_rename(filename_temp, filename_full) == -1)
 	{

mercurial