aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-18 17:56:16 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-18 17:56:16 +0000
commit9ee4f609af6f20677857ed5b9c5c1da9affdce8d (patch)
tree16c0ca8677ddefff3a9b4ce8d3a060a493e6bd7a /src/datastore
parent0c50eb95e9af598a906d016d425aff79bdfa53e1 (diff)
downloadgnunet-9ee4f609af6f20677857ed5b9c5c1da9affdce8d.tar.gz
gnunet-9ee4f609af6f20677857ed5b9c5c1da9affdce8d.zip
-call continuation last
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 36d1d98b7..4f406a2bc 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -1213,12 +1213,12 @@ process_result_message (void *cls, const struct GNUNET_MessageHeader *msg)
1213 LOG (GNUNET_ERROR_TYPE_DEBUG, 1213 LOG (GNUNET_ERROR_TYPE_DEBUG,
1214 "Received end of result set, new queue size is %u\n", h->queue_size); 1214 "Received end of result set, new queue size is %u\n", h->queue_size);
1215#endif 1215#endif
1216 if (rc.proc != NULL)
1217 rc.proc (rc.proc_cls, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS,
1218 0);
1219 h->retry_time.rel_value = 0; 1216 h->retry_time.rel_value = 0;
1220 h->result_count = 0; 1217 h->result_count = 0;
1221 process_queue (h); 1218 process_queue (h);
1219 if (rc.proc != NULL)
1220 rc.proc (rc.proc_cls, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS,
1221 0);
1222 return; 1222 return;
1223 } 1223 }
1224 qe = h->queue_head; 1224 qe = h->queue_head;