projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3322ecc
)
Use yaz_gettimeofday
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 May 2010 09:23:24 +0000
(11:23 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 May 2010 09:23:24 +0000
(11:23 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
f2acbaa
..
0ca3523
100644
(file)
--- 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 <yaz/querytowrbuf.h>
#include <yaz/oid_db.h>
#include <yaz/snprintf.h>
+#include <yaz/gettimeofday.h>
#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;