revise the bad behavior of create effect function caused by wrong argument. 62/15162/1
authorjy910.yun <jy910.yun@samsung.com>
Fri, 31 May 2013 06:02:54 +0000 (15:02 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 14:30:08 +0000 (15:30 +0100)
commitf8c23318c5028d2216de0887f426add6e12552e6
treec1fd323290f9f3d412ee585cdfa239a3d6b7aeb9
parentec8e0489195737d84623cc87d4555d4756a3cbe7
revise the bad behavior of create effect function caused by wrong argument.

before changing the code, pass the argument to make string to interger structure.
but now, send the buffer by copying memory.

Change-Id: I1662a0232d0b93ec80656d94d57f8abe8a4f413e
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
src/haptic/haptic.c
src/shared/haptic.c