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

SVN revision: 50042
v-1.6.0
Mike Blumenkrantz 13 years ago
parent 12c68013d8
commit 93959279ca
  1. 3
      src/bin/ephoto_thumb_browser.c

@ -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))

Loading…
Cancel
Save