ecore pipe - fix checking return of read for pipes in new code
This commit is contained in:
parent
352174784e
commit
3e494a0a21
|
@ -608,7 +608,9 @@ _ecore_pipe_wait(Ecore_Pipe *p,
|
|||
|
||||
if ((fd_timer_found) && (p->timerfd != PIPE_FD_INVALID))
|
||||
{
|
||||
pipe_read(p->timerfd, &timerfdbuf, sizeof(timerfdbuf));
|
||||
if (pipe_read(p->timerfd, &timerfdbuf, sizeof(timerfdbuf))
|
||||
< sizeof(timerfdbuf))
|
||||
WRN("Could not read timerfd data");
|
||||
_ecore_pipe_unhandle(p);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue