sensord: fix the bug about terminating null byte when using strncpy 03/34603/1
authorKibak Yoon <kibak.yoon@samsung.com>
Thu, 29 Jan 2015 10:59:47 +0000 (19:59 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Thu, 29 Jan 2015 10:59:47 +0000 (19:59 +0900)
commit49e889cb2d2a244805306dfd23155d88ad9012c6
tree4b4b45d9a5bf0232e25df361f85d79b895a24112
parent882de21481824f13f429b55f5513217197638601
sensord: fix the bug about terminating null byte when using strncpy

when termination was forced, the index was wrong.

Change-Id: I7966527a5bece6bb4a09ceec63d4eec3f751b13b
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
src/shared/csocket.cpp