From 352f001d4607772615c6689c6b5be51aa21cb8bc Mon Sep 17 00:00:00 2001 From: Suyeon Hwang Date: Thu, 11 May 2017 10:49:06 +0900 Subject: [PATCH] Fix checking return value error Change-Id: Ide5c0c51af8b3a73191a5e88070750a17ee75460 Signed-off-by: Suyeon Hwang --- common/tts_config_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tts_config_parser.c b/common/tts_config_parser.c index b9bb695..e8cf3db 100644 --- a/common/tts_config_parser.c +++ b/common/tts_config_parser.c @@ -517,7 +517,7 @@ int tts_parser_load_config(tts_config_s** config_info) int ret = -1; do { ret = xmlSaveFile(TTS_CONFIG, g_config_doc); - if (0 == ret) + if (0 < ret) break; retry_count++; usleep(10000); -- 2.7.4