chiark / gitweb /
More comments
[disorder] / lib / eclient.c
index 676aa06aa745118457dbefe0f0f21d7e71f8b479..fad9e1b4d0489f60a4360311d7d9d6b8103f13d4 100644 (file)
@@ -440,7 +440,7 @@ void disorder_eclient_polled(disorder_eclient *c, unsigned mode) {
   /* Queue up a byte to send */
   if(c->state == state_log
      && c->output.nvec == 0
-     && time(&now) - c->last_prod > LOG_PROD_INTERVAL) {
+     && xtime(&now) - c->last_prod > LOG_PROD_INTERVAL) {
     put(c, "x", 1);
     c->last_prod = now;
   }