libpurple/image.c

changeset 38293
179a284c312a
parent 38291
dc6b4a65073f
child 38294
5a797c987eb2
--- a/libpurple/image.c	Tue Oct 04 19:26:33 2016 -0500
+++ b/libpurple/image.c	Tue Oct 04 19:30:52 2016 -0500
@@ -167,10 +167,6 @@
 	gchar *contents = NULL;
 	gsize length = 0;
 
-	if(!g_file_test(path, G_FILE_TEST_EXISTS)) {
-		return NULL;
-	}
-
 	if(!g_file_get_contents(path, &contents, &length, error)) {
 		return NULL;
 	}

mercurial