X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fqueue.c;h=8b0494b269a7593c6f97c74446665fe3890e26b0;hb=6c4545562d5b520ad23d9470382dde4b2af9671f;hp=5d8d610c651f6c0b3c0e78ba29aea9cbdd15f0c4;hpb=5976eb9983e5f88f22d55f26ddac53c23aeb7f3d;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/queue.c b/src/src/queue.c index 5d8d610c6..8b0494b26 100644 --- a/src/src/queue.c +++ b/src/src/queue.c @@ -880,7 +880,7 @@ for (reset_point = store_get(0); f; f = f->next) if (Ustat(fname, &statbuf) == 0) size = message_size + statbuf.st_size - SPOOL_DATA_START_OFFSET + 1; - i = (now - received_time)/60; /* minutes on queue */ + i = (now - received_time.tv_sec)/60; /* minutes on queue */ if (i > 90) { i = (i + 30)/60; @@ -1133,7 +1133,7 @@ switch(action) { case MSG_SHOW_COPY: { - transport_ctx tctx = {0}; + transport_ctx tctx = {{0}}; deliver_in_buffer = store_malloc(DELIVER_IN_BUFFER_SIZE); deliver_out_buffer = store_malloc(DELIVER_OUT_BUFFER_SIZE); tctx.u.fd = 1;