Browse Source

remove cast to time_t in CUR_TS() makro. it caused some deviation

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent
commit
a2a0818cb4
  1. 2
      src/worker.h

2
src/worker.h

@ -33,7 +33,7 @@ struct statistics_t {
ev_tstamp last_update;
};
#define CUR_TS(wrk) ((time_t)ev_now((wrk)->loop))
#define CUR_TS(wrk) ev_now((wrk)->loop)
/* only locks if there is more than one worker */
#define WORKER_LOCK(srv, lock) \

Loading…
Cancel
Save