Modify ua.h to ua_types.h for integrating header with tota-ua
[platform/core/system/libtota.git] / ss_engine / SS_UPI.c
index db19b99..290ba58 100755 (executable)
@@ -32,7 +32,7 @@ Function Prototypes Mandatory
 #include <unistd.h>
 #include <sys/statfs.h>
 #include <mntent.h>
-#include "ua.h"
+#include "ua_types.h"
 #include "SS_Common.h"
 #include "fota_common.h"
 #include "SS_UPI.h"
@@ -1665,7 +1665,7 @@ int SS_FSVerifyPartition(ua_dataSS_t * ua_dataSS, int part_idx)
        SS_GetPartition_LocDetails(ua_dataSS);
        LOGL(LOG_SSENGINE, "FS Verification Start PartIndex:[%d]\n", part_idx);
        if (ua_dataSS->ua_operation == UI_OP_SCOUT)
-               gvalid_session = TRUE;  // (shd b true if called during verification)
+               gvalid_session = 1;  // (shd b true if called during verification)
        headptr_list[part_idx] = SS_FSBuildNodes(ua_dataSS);
 #ifdef TIME_PROFILING
        LOGL(LOG_SSENGINE, "fast_tar_get_item_size_time :[%lf]\n", fast_tar_get_item_size_time);