Fix return value when there is no time info 44/127444/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 27 Apr 2017 08:59:39 +0000 (17:59 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 27 Apr 2017 08:59:39 +0000 (17:59 +0900)
Change-Id: I12eb3f042a49e9540a2a8b5c97ff938bdd1dd453
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/stt_config_mgr.c

index b2d346b..11003a2 100755 (executable)
@@ -1729,7 +1729,7 @@ int stt_config_mgr_foreach_time_info(stt_config_result_time_cb callback, void* u
        ret = stt_parser_get_time_info(&temp_time);
        if (0 != ret) {
                SLOG(LOG_WARN, stt_tag(), "[WARNING] Fail to get time info : %d", ret);
-               return STT_CONFIG_ERROR_OPERATION_FAILED;
+               return STT_CONFIG_ERROR_NONE;
        }
 
        GSList *iter = NULL;