Fix wrong condition for parameter checker 95/291495/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 17 Apr 2023 11:26:10 +0000 (20:26 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 17 Apr 2023 11:26:10 +0000 (20:26 +0900)
commit984da7177b85ac79d198c08fbdc33db9bc7b29cd
tree6660076d5339cc79b6ae1dbe2a6bf620bc0c2045
parent14fe94bd64608ad8bf1af8daccccc1c247fc8be3
Fix wrong condition for parameter checker

- Issue:
tts_set_playing_mode() always returns invalid parameter error.

- Solution:
This patch fixes the condition for parameter checker in
tts_set_playing_mode(). Previous condition statement always returns
true, so the function works wrong. Through this patch, the function will
properly check the paramter.

Change-Id: I2fdb5254f942f6e9c1c1741e241bcfc32fe4cbdf
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts.c