changeset 21988:f314129eaaf5

We can't rely on g_strerror() being set by g_file_test().
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 04 Jan 2008 21:30:24 +0000
parents 71d18f5adbba
children bba84ed2c44d
files libpurple/buddyicon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Fri Jan 04 20:41:08 2008 +0000
+++ b/libpurple/buddyicon.c	Fri Jan 04 21:30:24 2008 +0000
@@ -124,7 +124,7 @@
 							purple_imgstore_get_size(img));	
 	} else 	{
 		purple_debug_error("buddyicon", "Unable to create file %s: %s\n",
-		                   path, g_strerror(errno));
+		                   path, "File already exists.");
 	}
 	g_free(path);
 }