Fix the bug of parsing the easy mode size.
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 4 Feb 2013 11:11:45 +0000 (11:11 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 4 Feb 2013 11:11:45 +0000 (11:11 +0000)
There is an errta.

Change-Id: If098d7b02528b882fb3d48c49895391f592ae139

packaging/com.samsung.data-provider-master.spec
pkgmgr_livebox/src/service_register.c

index cb742b8..cc1c8e3 100644 (file)
@@ -1,6 +1,6 @@
 Name: com.samsung.data-provider-master
 Summary: Master service provider for liveboxes.
-Version: 0.15.9
+Version: 0.15.10
 Release: 1
 Group: framework/livebox
 License: Flora License
index 786e9ba..1b15470 100644 (file)
@@ -2125,7 +2125,7 @@ static inline int db_insert_livebox(struct livebox *livebox, const char *appid)
 
        if (livebox->size_list & LB_SIZE_TYPE_EASY_3x3) {
                ret = db_insert_box_size((char *)livebox->pkgid, LB_SIZE_TYPE_EASY_3x3, (char *)livebox->preview[9]);
-               if (ret < 9)
+               if (ret < 0)
                        goto errout;
        }