Refactor sttd_server module according to review 44/295644/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 12 Jul 2023 05:38:29 +0000 (14:38 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 12 Jul 2023 05:38:29 +0000 (14:38 +0900)
commit5aff1a7a4c2f12e8d64739376659d28969d404db
tree4b62e9fdcf90213498106eec3b78a9bb8d30d682
parentc6dbe6e3166a42752fc0fd9e133dfdd892f669ab
Refactor sttd_server module according to review

- Contents:
This patch includes these changes:
  - Use play_sound() in sttd_server_start() and sttd_server_stop()
  - Change from strcmp() to strncmp() for secure access
  - Remove play_sound() from the functions related about streaming mode

Change-Id: I0eef55f3034d6d75dcc33f806a83c4dba863f24d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/stt_defs.h
server/sttd_server.c