efreet: Fix failure to save list data to output
authorBryce Harrington <bryce@osg.samsung.com>
Fri, 12 May 2017 09:08:30 +0000 (11:08 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Fri, 12 May 2017 09:08:30 +0000 (11:08 +0200)
Summary:
This fixes a typo in the fix 55676b33, which introduced an invalid early
return from the save_list function, preventing it from outputing the
list data to the file.

@fix CID1375005, CID1375004

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: stefan_schmidt, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4873

src/bin/efreet/efreetd_cache.c

index c347acc..410e333 100644 (file)
@@ -770,7 +770,7 @@ save_list(const char *file, Eina_List *l)
 
    eina_strbuf_append_printf(buf, "%s/efreet/%s", efreet_cache_home_get(), file);
    f = fopen(eina_strbuf_string_get(buf), "wb");
-   if (!f) return;
+   if (!f)
      {
         eina_strbuf_free(buf);
         return;