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)
downloadgnunet-5be02c06ab32edcc8ab3ea6b8ff291ba946ed831.tar.gz
gnunet-5be02c06ab32edcc8ab3ea6b8ff291ba946ed831.zip
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 c9d6deaaa..ca794ddd4 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -422,7 +422,7 @@ postgres_plugin_get (void *cls,
422 } 422 }
423 for (i=0;i<cnt;i++) 423 for (i=0;i<cnt;i++)
424 { 424 {
425 expiration_time.value = GNUNET_ntohll (*(uint64_t *) PQgetvalue (res, i, 0)); 425 expiration_time.abs_value = GNUNET_ntohll (*(uint64_t *) PQgetvalue (res, i, 0));
426 type = ntohl (*(uint32_t *) PQgetvalue (res, i, 1)); 426 type = ntohl (*(uint32_t *) PQgetvalue (res, i, 1));
427 size = PQgetlength (res, i, 2); 427 size = PQgetlength (res, i, 2);
428#if DEBUG_POSTGRES 428#if DEBUG_POSTGRES