summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-18 14:30:22 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-18 14:30:22 +0900
commit3e494a0a21831298d48edcfc14cbd8e49d40bbfa (patch)
tree2e8f9af9d2809f28732ddf636bc96e186882f885 /src/lib/ecore
parent352174784e708ee878a71aa39d88a69f5d78a9ec (diff)
ecore pipe - fix checking return of read for pipes in new code
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_pipe.c b/src/lib/ecore/ecore_pipe.c
index cab04b69ef..e9eca08a0b 100644
--- a/src/lib/ecore/ecore_pipe.c
+++ b/src/lib/ecore/ecore_pipe.c
@@ -608,7 +608,9 @@ _ecore_pipe_wait(Ecore_Pipe *p,
608 608
609 if ((fd_timer_found) && (p->timerfd != PIPE_FD_INVALID)) 609 if ((fd_timer_found) && (p->timerfd != PIPE_FD_INVALID))
610 { 610 {
611 pipe_read(p->timerfd, &timerfdbuf, sizeof(timerfdbuf)); 611 if (pipe_read(p->timerfd, &timerfdbuf, sizeof(timerfdbuf))
612 < sizeof(timerfdbuf))
613 WRN("Could not read timerfd data");
612 _ecore_pipe_unhandle(p); 614 _ecore_pipe_unhandle(p);
613 break; 615 break;
614 } 616 }