Fix Svace issues : WGID 27769, 27802 12/115012/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/3.0/common/20170221.125004 accepted/tizen/3.0/ivi/20170221.004055 accepted/tizen/3.0/mobile/20170221.003644 accepted/tizen/3.0/wearable/20170221.003854 accepted/tizen/common/20170216.094159 accepted/tizen/ivi/20170216.095410 accepted/tizen/mobile/20170216.095332 accepted/tizen/unified/20170309.031050 accepted/tizen/wearable/20170216.095357 submit/tizen/20170216.060327 submit/tizen_3.0/20170216.060243 submit/tizen_unified/20170308.100403
authormin7.choi <min7.choi@samsung.com>
Thu, 16 Feb 2017 05:35:13 +0000 (14:35 +0900)
committermin7.choi <min7.choi@samsung.com>
Thu, 16 Feb 2017 05:35:13 +0000 (14:35 +0900)
Change-Id: If7d15126ce3892697bdb7ca6cb42f68c23c7ff51
Signed-off-by: min7.choi <min7.choi@samsung.com>
packaging/org.tizen.download-manager.spec
src/download-manager-downloadItem.cpp
src/download-manager-item.cpp

index b79433e..142ed13 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:  org.tizen.download-manager
 Summary:       Application for support of the content download
-Version:       0.3.20
+Version:       0.3.21
 Release:       1
 License:       Flora-1.1
 Group:         misc
index c8261a7..35f78d4 100755 (executable)
@@ -987,6 +987,7 @@ OmaItem::OmaItem()
 
 OmaItem::OmaItem(dd_oma1_t *dd_info)
 {
+       size = 0;
        retryCount = 0;
        th = NULL;
        notifyFinished = false;
index 08efe01..c05c926 100755 (executable)
@@ -55,6 +55,7 @@ Item::Item(DownloadRequest &rRequest)
        : m_state(ITEM::IDLE)
        , m_errorCode(ERROR::NONE)
        , m_historyId(-1)
+       , m_id(-1)
        , m_contentType(DM_CONTENT_UNKOWN)
        , m_fileSize(0)
        , m_finishedTime(0)