ecore: add ecore_main_fd_handler_file_add() handlers to file handler list

broken in a bad refactoring patch, resulting in this function having no effect
whatsoever

ref 9281fb5537

@fix
This commit is contained in:
Mike Blumenkrantz 2016-03-31 13:27:29 -04:00
parent 0a03e63350
commit bcad71f4fa
1 changed files with 2 additions and 0 deletions

View File

@ -1389,6 +1389,8 @@ _ecore_main_fd_handler_add(int fd,
if (buf_func)
fd_handlers_with_buffer = eina_list_append(fd_handlers_with_buffer, fdh);
fdh->buf_data = (void *)buf_data;
if (is_file)
file_fd_handlers = eina_list_append(file_fd_handlers, fdh);
fd_handlers = (Ecore_Fd_Handler *)
eina_inlist_append(EINA_INLIST_GET(fd_handlers),
EINA_INLIST_GET(fdh));