summaryrefslogtreecommitdiff
path: root/legacy/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-08-13 02:55:41 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-08-13 02:55:41 +0000
commit76da2e26e1f3453bea9c527f26add1f8c54e70ca (patch)
tree1f222225ddec31c6e8d625e701f0e94d2b637041 /legacy/ecore
parente0a3ec5fe59598738907f3035350e64fac298656 (diff)
formatting.
SVN revision: 75184
Diffstat (limited to 'legacy/ecore')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index adbf247093..aa9b605385 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -279,18 +279,18 @@ static inline void
279_ecore_try_add_to_call_list(Ecore_Fd_Handler *fdh) 279_ecore_try_add_to_call_list(Ecore_Fd_Handler *fdh)
280{ 280{
281 /* check if this fdh is already in the list */ 281 /* check if this fdh is already in the list */
282 if (fdh->next_ready) 282 if (fdh->next_ready)
283 return; 283 return;
284 if (fdh->read_active || fdh->write_active || fdh->error_active) 284 if (fdh->read_active || fdh->write_active || fdh->error_active)
285 { 285 {
286 /* 286 /*
287 * make sure next_ready is non-null by pointing to ourselves 287 * make sure next_ready is non-null by pointing to ourselves
288 * use that to indicate this fdh is in the ready list 288 * use that to indicate this fdh is in the ready list
289 * insert at the head of the list to avoid trouble 289 * insert at the head of the list to avoid trouble
290 */ 290 */
291 fdh->next_ready = fd_handlers_to_call ? fd_handlers_to_call : fdh; 291 fdh->next_ready = fd_handlers_to_call ? fd_handlers_to_call : fdh;
292 fd_handlers_to_call = fdh; 292 fd_handlers_to_call = fdh;
293 } 293 }
294} 294}
295 295
296static inline int 296static inline int
@@ -299,7 +299,7 @@ _ecore_get_epoll_fd(void)
299 if (epoll_pid && epoll_pid != getpid()) 299 if (epoll_pid && epoll_pid != getpid())
300 { 300 {
301 /* forked! */ 301 /* forked! */
302 _ecore_main_loop_shutdown(); 302 _ecore_main_loop_shutdown();
303 } 303 }
304 if (epoll_pid == 0 && epoll_fd < 0) 304 if (epoll_pid == 0 && epoll_fd < 0)
305 { 305 {