removed void ptr debug print
This commit is contained in:
parent
a0d4569488
commit
5a8660afb6
1 changed files with 2 additions and 4 deletions
|
|
@ -317,8 +317,7 @@ event_loop(void)
|
||||||
if (n==0){ /* Timeout */
|
if (n==0){ /* Timeout */
|
||||||
e = ee_timers;
|
e = ee_timers;
|
||||||
ee_timers = ee_timers->e_next;
|
ee_timers = ee_timers->e_next;
|
||||||
clicon_debug(2, "%s timeout: %s[%lx]",
|
clicon_debug(2, "%s timeout: %s", __FUNCTION__, e->e_string);
|
||||||
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
|
|
||||||
if ((*e->e_fn)(0, e->e_arg) < 0){
|
if ((*e->e_fn)(0, e->e_arg) < 0){
|
||||||
free(e);
|
free(e);
|
||||||
goto err;
|
goto err;
|
||||||
|
|
@ -331,8 +330,7 @@ event_loop(void)
|
||||||
break;
|
break;
|
||||||
e_next = e->e_next;
|
e_next = e->e_next;
|
||||||
if(e->e_type == EVENT_FD && FD_ISSET(e->e_fd, &fdset)){
|
if(e->e_type == EVENT_FD && FD_ISSET(e->e_fd, &fdset)){
|
||||||
clicon_debug(2, "%s: FD_ISSET: %s[%lx]",
|
clicon_debug(2, "%s: FD_ISSET: %s", __FUNCTION__, e->e_string);
|
||||||
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
|
|
||||||
if ((*e->e_fn)(e->e_fd, e->e_arg) < 0){
|
if ((*e->e_fn)(e->e_fd, e->e_arg) < 0){
|
||||||
clicon_debug(1, "%s Error in: %s", __FUNCTION__, e->e_string);
|
clicon_debug(1, "%s Error in: %s", __FUNCTION__, e->e_string);
|
||||||
goto err;
|
goto err;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue