diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-18 17:56:16 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-18 17:56:16 +0000 |
commit | ed395f0716b6904f65650bf4338999266100c192 (patch) | |
tree | 16c0ca8677ddefff3a9b4ce8d3a060a493e6bd7a /src/datastore | |
parent | e4c8125d2a2cdde00267a0497ba35511e5ee7927 (diff) |
-call continuation last
git-svn-id: https://gnunet.org/svn/gnunet@19841 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/datastore_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index 36d1d98b7c..4f406a2bca 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) LOG (GNUNET_ERROR_TYPE_DEBUG, "Received end of result set, new queue size is %u\n", h->queue_size); #endif - if (rc.proc != NULL) - rc.proc (rc.proc_cls, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, - 0); h->retry_time.rel_value = 0; h->result_count = 0; process_queue (h); + if (rc.proc != NULL) + rc.proc (rc.proc_cls, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, + 0); return; } qe = h->queue_head; |