summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-01-13 17:22:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-01-14 14:23:05 +0900
commit99efaf4ad17013fae3b10c02ffa8de9d6c767e5d (patch)
tree20af299da275203493241a57ee2fe1dba0e50492 /src/bin
parent73670beba31486adf5fee41f36af9209c212f579 (diff)
Evas/cserve2: Clear up File_Data when opening a new image
After a file changed, the "changed" flag was not reset in the File_Data structure, although it was supposed to represent a new entry altogether.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/evas/evas_cserve2_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/evas/evas_cserve2_cache.c b/src/bin/evas/evas_cserve2_cache.c
index 0fbb1fbc2e..77d1ce2a89 100644
--- a/src/bin/evas/evas_cserve2_cache.c
+++ b/src/bin/evas/evas_cserve2_cache.c
@@ -2613,6 +2613,7 @@ cserve2_cache_file_open(Client *client, unsigned int client_file_id,
2613 ERR("Could not create new file entry!"); 2613 ERR("Could not create new file entry!");
2614 return -1; 2614 return -1;
2615 } 2615 }
2616 memset(fd, 0, sizeof(*fd));
2616 fd->valid = EINA_FALSE; 2617 fd->valid = EINA_FALSE;
2617 fd->path = cserve2_shared_string_add(path); 2618 fd->path = cserve2_shared_string_add(path);
2618 fd->key = cserve2_shared_string_add(key); 2619 fd->key = cserve2_shared_string_add(key);