diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 19:23:55 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 19:23:55 +0100 |
commit | 11896f4d36c4c5c81cf86e8356eb5b3777272f4b (patch) | |
tree | f3ead7c9b3b74c990265067beade18ff5d6f65a7 /src/utils/socket.cpp | |
parent | 24049db55457ddc3f11437ae75d7f5737a52ec5b (diff) |
Wrong error handling when fire diagnostic request.
As returned code was negative value the sd_event_source stopped considering
that was an error. If statement was to check that sd_event_set_enabled was
ok, so unref and return wasn't at the right location...
Change-Id: I91cc943c20af80a31b4f66f5714ccef93c0fdbd2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/utils/socket.cpp')
0 files changed, 0 insertions, 0 deletions