task = NULL; \
\
/* Get the current time */ \
- gettimeofday(&curtime, NULL); \
+ silc_gettimeofday(&curtime); \
schedule->timeout = NULL; \
\
/* First task in the task queue has always the smallest timeout. */ \
case 0:
/* Timeout */
SILC_LOG_DEBUG(("Running timeout tasks"));
- gettimeofday(&curtime, NULL);
+ silc_gettimeofday(&curtime);
SILC_SCHEDULE_RUN_TIMEOUT_TASKS;
break;
default: