summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore/ecore_anim.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 020e4267a1..feb7456e40 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -87,7 +87,10 @@ static void
87_tick_send(char val) 87_tick_send(char val)
88{ 88{
89 DBG("_tick_send(%i)", val); 89 DBG("_tick_send(%i)", val);
90 pipe_write(timer_fd_write, &val, 1); 90 if (pipe_write(timer_fd_write, &val, 1) != 0)
91 {
92 ERR("Cannot write to animator control fd");
93 }
91} 94}
92 95
93static void 96static void
@@ -137,7 +140,10 @@ _timer_tick_core(void *data EINA_UNUSED, Ecore_Thread *thread)
137 } 140 }
138 if ((ret == 1) && (FD_ISSET(timer_fd_read, &rfds))) 141 if ((ret == 1) && (FD_ISSET(timer_fd_read, &rfds)))
139 { 142 {
140 pipe_read(timer_fd_read, &tick, sizeof(tick)); 143 if (pipe_read(timer_fd_read, &tick, sizeof(tick)) != 0)
144 {
145 ERR("Cannot read from animator control fd");
146 }
141 DBG("tick = %i", tick); 147 DBG("tick = %i", tick);
142 if (tick == -1) goto done; 148 if (tick == -1) goto done;
143 } 149 }