From 3e1b6dfc769b64e34d1211b5dceec353f0083733 Mon Sep 17 00:00:00 2001 From: grothoff Date: Fri, 15 Apr 2011 13:27:55 +0000 Subject: fixes git-svn-id: https://gnunet.org/svn/gnunet@14995 140774ce-b5e7-0310-ab8b-a85725594a96 --- src/datastore/plugin_datastore_postgres.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/datastore/plugin_datastore_postgres.c') 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; -- cgit v1.2.3-18-g5258