From 4ca1fe1246328e518360fdc0978b9d54cf6afccc Mon Sep 17 00:00:00 2001 From: sooyeon Date: Mon, 14 Nov 2022 18:11:20 +0900 Subject: [PATCH] Fix to transfer wrong argument Change-Id: Ic831091feb2d9c092837d3c07de9e29c926f6491 Signed-off-by: sooyeon --- common/stt_config_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/stt_config_parser.c b/common/stt_config_parser.c index b18a23b..8293a51 100644 --- a/common/stt_config_parser.c +++ b/common/stt_config_parser.c @@ -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; -- 2.7.4