From: Suyeon Hwang Date: Thu, 11 May 2017 01:49:06 +0000 (+0900) Subject: Fix checking return value error X-Git-Tag: accepted/tizen/unified/20170511.033631^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=352f001d4607772615c6689c6b5be51aa21cb8bc;p=platform%2Fcore%2Fuifw%2Ftts.git Fix checking return value error Change-Id: Ide5c0c51af8b3a73191a5e88070750a17ee75460 Signed-off-by: Suyeon Hwang --- 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);