aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_postgres.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:38:04 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:38:04 +0000
commit5be02c06ab32edcc8ab3ea6b8ff291ba946ed831 (patch)
tree86a488d381ff8443f6b9de6a23708edb042a75f2 /src/datacache/plugin_datacache_postgres.c
parent06076559b84c1053d82929c05620ab0bd60b9c5f (diff)
Refactoring gnunet time
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r--src/datacache/plugin_datacache_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index c9d6deaaa5..ca794ddd4e 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -422,7 +422,7 @@ postgres_plugin_get (void *cls,
}
for (i=0;i<cnt;i++)
{
- expiration_time.value = GNUNET_ntohll (*(uint64_t *) PQgetvalue (res, i, 0));
+ expiration_time.abs_value = GNUNET_ntohll (*(uint64_t *) PQgetvalue (res, i, 0));
type = ntohl (*(uint32_t *) PQgetvalue (res, i, 1));
size = PQgetlength (res, i, 2);
#if DEBUG_POSTGRES