summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_client.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index 2476e915ad..d532644113 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -2735,7 +2735,9 @@ _shared_image_entry_file_data_find(Image_Entry *ie)
2735 if (fe->server_file_id) 2735 if (fe->server_file_id)
2736 { 2736 {
2737 if ((fdata = _shared_file_data_get_by_id(fe->server_file_id)) != NULL) 2737 if ((fdata = _shared_file_data_get_by_id(fe->server_file_id)) != NULL)
2738 return fdata; 2738 if (!fdata->changed)
2739 return fdata;
2740 fe->server_file_id = 0;
2739 } 2741 }
2740 2742
2741 // Check hash 2743 // Check hash
@@ -2757,6 +2759,7 @@ _shared_image_entry_file_data_find(Image_Entry *ie)
2757 fd = &(_index.files.entries.filedata[k]); 2759 fd = &(_index.files.entries.filedata[k]);
2758 if (!fd->id) break; 2760 if (!fd->id) break;
2759 if (!fd->refcount) continue; 2761 if (!fd->refcount) continue;
2762 if (fd->changed) continue;
2760 2763
2761 key = _shared_string_safe_get(fd->key); 2764 key = _shared_string_safe_get(fd->key);
2762 file = _shared_string_safe_get(fd->path); 2765 file = _shared_string_safe_get(fd->path);
@@ -3097,6 +3100,7 @@ _shared_image_entry_image_data_find(Image_Entry *ie)
3097 continue; 3100 continue;
3098 } 3101 }
3099 3102
3103 if (fd->changed || !fd->valid) continue;
3100 key = _shared_string_safe_get(fd->key); 3104 key = _shared_string_safe_get(fd->key);
3101 file = _shared_string_safe_get(fd->path); 3105 file = _shared_string_safe_get(fd->path);
3102 if (!file) 3106 if (!file)