diff options
author | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-10-27 12:38:51 +0000 |
---|---|---|
committer | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-10-27 12:38:51 +0000 |
commit | aefa121f98087dcf96f2456e516f9baaa6771318 (patch) | |
tree | d818553fd22633d804a769db9e565718b977fc53 /src/datastore/plugin_datastore_postgres.c | |
parent | 9daaa1ee03f8b81c201ad2f1fe00243bc3bf1542 (diff) |
git-svn-id: https://gnunet.org/svn/gnunet@13432 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 248fe7a961..44a01fcb8f 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -605,7 +605,7 @@ postgres_plugin_put (void *cls, uint32_t btype = htonl (type); uint32_t bprio = htonl (priority); uint32_t banon = htonl (anonymity); - uint64_t bexpi = GNUNET_TIME_absolute_hton (expiration).value__; + uint64_t bexpi = GNUNET_TIME_absolute_hton (expiration).abs_value__; const char *paramValues[] = { (const char *) &btype, (const char *) &bprio, @@ -886,7 +886,7 @@ postgres_plugin_update (void *cls, PGresult *ret; int32_t bdelta = (int32_t) htonl ((uint32_t) delta); uint32_t boid = htonl ( (uint32_t) uid); - uint64_t bexpire = GNUNET_TIME_absolute_hton (expire).value__; + uint64_t bexpire = GNUNET_TIME_absolute_hton (expire).abs_value__; const char *paramValues[] = { (const char *) &bdelta, (const char *) &bexpire, @@ -996,7 +996,7 @@ postgres_iterate (struct Plugin *plugin, GNUNET_free (nrc); return; } - nrc->bnow = GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ()).value__; + nrc->bnow = GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ()).abs_value__; postgres_plugin_next_request (nrc, GNUNET_NO); } |