Don't check the existence of file for buffer type is LB.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 2 May 2013 01:31:23 +0000 (10:31 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 2 May 2013 01:31:23 +0000 (10:31 +0900)
Change-Id: Ib0ff37cd24e55f9e83a79a4c60c24a80d2859f2c

packaging/libprovider.spec
src/provider.c

index 2b96897..f534f60 100644 (file)
@@ -1,6 +1,6 @@
 Name: libprovider
 Summary: Library for developing the livebox service provider.
-Version: 0.9.0
+Version: 0.9.1
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
index e85c0fc..b125556 100644 (file)
@@ -1228,7 +1228,8 @@ EAPI int provider_send_updated(const char *pkgname, const char *id, int w, int h
                return LB_STATUS_ERROR_INVALID;
        }
 
-       keep_file_in_safe(id);
+       if (!provider_buffer_find_buffer(TYPE_LB, pkgname, id))
+               keep_file_in_safe(id);
 
        packet = packet_create_noack("updated", "ssiidss",
                                        pkgname, id, w, h, priority, content_info, title);