[FIX] epoll_ctl error, double stopping
authorAnastasia Lyupa <a.lyupa@samsung.com>
Mon, 21 Oct 2013 15:31:31 +0000 (19:31 +0400)
committerAnastasia Lyupa <a.lyupa@samsung.com>
Wed, 23 Oct 2013 15:03:14 +0000 (19:03 +0400)
commit1b28c70ac87cc1a1b599f39bef0a5f95fd4ba5ab
tree3986a046fc718a46085f001305bc20b6c3f24ac8
parentcebb53d4986082e0e093c517b1026d2cf5319850
[FIX] epoll_ctl error, double stopping

- don't call stop_all at the end if it was successfully called before
  or if start was unsuccessful

- epoll_add_input_events: no error if fd exists

Change-Id: I86119301519e6c2a891323a7db93a070b31d01ab
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
daemon/da_protocol.c
daemon/da_protocol.h
daemon/daemon.c