From 1b7db6048c094ee48951ae9a354dcfd6209425ad Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 May 2010 11:23:24 +0200 Subject: [PATCH] Use yaz_gettimeofday --- src/session.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index f2acbaa..0ca3523 100644 --- a/src/session.c +++ b/src/session.c @@ -52,6 +52,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include +#include #define USE_TIMING 0 #if USE_TIMING @@ -537,7 +538,7 @@ enum pazpar2_error_code search(struct session *se, } se->reclist = reclist_create(se->nmem); - gettimeofday(&tval, 0); + yaz_gettimeofday(&tval); tval.tv_sec += 5; -- 1.7.10.4