not checking for null values?? BAD CEDRIC! NO COOKIE!

SVN revision: 50042
This commit is contained in:
Mike Blumenkrantz 2010-07-05 05:56:46 +00:00
parent 12c68013d8
commit 93959279ca
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ _ephoto_access_disk(Ecore_Thread *thread, void *data)
{
if (ecore_thread_check(thread)) break;
type = efreet_mime_type_get((const char *)file);
if (!(type = efreet_mime_type_get((const char *)file)))
continue;
fprintf(stderr, "[%s] => [%s]\n", file, type);
if (!strncmp(type, "image", 5))