diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-04-15 13:27:55 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-04-15 13:27:55 +0000 |
commit | 3e1b6dfc769b64e34d1211b5dceec353f0083733 (patch) | |
tree | 05536fcc0dabf6e567cba8f16c94704f06f6b331 /src/datastore/plugin_datastore_postgres.c | |
parent | 3d4e16720aefdd75087c29651cec63f5b57efcd7 (diff) |
fixes
git-svn-id: https://gnunet.org/svn/gnunet@14995 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 2cecfa9a11..aea87fdf40 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -998,6 +998,7 @@ postgres_plugin_iter_zero_anonymity (void *cls, struct NextRequestClosure *nrc; nrc = GNUNET_malloc (sizeof (struct NextRequestClosure)); + nrc->total = UINT32_MAX; nrc->btype = htonl ((uint32_t) type); nrc->plugin = plugin; nrc->iter = iter; @@ -1125,6 +1126,7 @@ postgres_plugin_replication_get (void *cls, rc.iter_cls = iter_cls; nrc = GNUNET_malloc (sizeof (struct NextRequestClosure)); nrc->one_shot = GNUNET_YES; + nrc->total = 1; nrc->plugin = plugin; nrc->iter = &repl_iter; nrc->iter_cls = &rc; @@ -1153,6 +1155,7 @@ postgres_plugin_expiration_get (void *cls, btime = GNUNET_htonll (GNUNET_TIME_absolute_get ().abs_value); nrc = GNUNET_malloc (sizeof (struct NextRequestClosure)); nrc->one_shot = GNUNET_YES; + nrc->total = 1; nrc->plugin = plugin; nrc->iter = iter; nrc->iter_cls = iter_cls; |