removed void ptr debug print

This commit is contained in:
Olof Hagsand 2018-06-17 18:02:54 +00:00
parent a0d4569488
commit 5a8660afb6

View file

@ -317,8 +317,7 @@ event_loop(void)
if (n==0){ /* Timeout */
e = ee_timers;
ee_timers = ee_timers->e_next;
clicon_debug(2, "%s timeout: %s[%lx]",
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
clicon_debug(2, "%s timeout: %s", __FUNCTION__, e->e_string);
if ((*e->e_fn)(0, e->e_arg) < 0){
free(e);
goto err;
@ -331,8 +330,7 @@ event_loop(void)
break;
e_next = e->e_next;
if(e->e_type == EVENT_FD && FD_ISSET(e->e_fd, &fdset)){
clicon_debug(2, "%s: FD_ISSET: %s[%lx]",
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
clicon_debug(2, "%s: FD_ISSET: %s", __FUNCTION__, e->e_string);
if ((*e->e_fn)(e->e_fd, e->e_arg) < 0){
clicon_debug(1, "%s Error in: %s", __FUNCTION__, e->e_string);
goto err;