summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_async_events.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:39:09 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:39:09 +0900
commit144a92105cf07ecc0ed8b212cd3200823e3b7df9 (patch)
tree96bbe1edc2e80ce823d4ca7888178a8257064c2f /src/lib/evas/canvas/evas_async_events.c
parent4fd102c866b92e94340dde50fae2bae3e3f3c644 (diff)
evas async events fd - check fcntl return
fix CID 1039684
Diffstat (limited to 'src/lib/evas/canvas/evas_async_events.c')
-rw-r--r--src/lib/evas/canvas/evas_async_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_async_events.c b/src/lib/evas/canvas/evas_async_events.c
index d111eba..d607dab 100644
--- a/src/lib/evas/canvas/evas_async_events.c
+++ b/src/lib/evas/canvas/evas_async_events.c
@@ -236,7 +236,7 @@ _evas_async_events_fd_blocking_set(Eina_Bool blocking)
236 if (blocking) flags &= ~O_NONBLOCK; 236 if (blocking) flags &= ~O_NONBLOCK;
237 else flags |= O_NONBLOCK; 237 else flags |= O_NONBLOCK;
238 238
239 fcntl(_fd_read, F_SETFL, flags); 239 if (fcntl(_fd_read, F_SETFL, flags) < 0) ERR("cannot set fd flags");
240#else 240#else
241 (void) blocking; 241 (void) blocking;
242#endif 242#endif