Fix to transfer wrong argument 59/284259/1 accepted/tizen/unified/20221115.172912
authorsooyeon <sooyeon.kim@samsung.com>
Mon, 14 Nov 2022 09:11:20 +0000 (18:11 +0900)
committersooyeon <sooyeon.kim@samsung.com>
Mon, 14 Nov 2022 09:11:20 +0000 (18:11 +0900)
Change-Id: Ic831091feb2d9c092837d3c07de9e29c926f6491
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
common/stt_config_parser.c

index b18a23b..8293a51 100644 (file)
@@ -969,7 +969,7 @@ int stt_parser_get_time_info(GSList** time_list)
                return -1;
        }
 
-       if (0 != __stt_parser_get_base_node_from_config(g_config_doc, &cur, STT_TAG_TIME_BASE_TAG)) {
+       if (0 != __stt_parser_get_base_node_from_config(doc, &cur, STT_TAG_TIME_BASE_TAG)) {
                SLOG(LOG_ERROR, TAG_STTCONFIG, "[ERROR] Fail to get base node from config");
                xmlFreeDoc(doc);
                return -1;