diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-15 10:35:35 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-15 10:35:35 +0000 |
commit | 4c8a3750ca40e94c8e4eaea800ee569f9f58b845 (patch) | |
tree | 60cfea94a1e28ea3fd955d86c98c7c7e9d7e9aba /src/testbed | |
parent | 914435c7d72b24b9810c5c05712a73de423feb1e (diff) | |
download | gnunet-4c8a3750ca40e94c8e4eaea800ee569f9f58b845.tar.gz gnunet-4c8a3750ca40e94c8e4eaea800ee569f9f58b845.zip |
- fix
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/gnunet-service-testbed_cache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c index 4d86bc41a..9fc97c836 100644 --- a/src/testbed/gnunet-service-testbed_cache.c +++ b/src/testbed/gnunet-service-testbed_cache.c | |||
@@ -783,7 +783,10 @@ cache_get_handle (unsigned int peer_id, struct GSTCacheGetHandle *cgh, | |||
783 | if (NULL != handle) | 783 | if (NULL != handle) |
784 | { | 784 | { |
785 | if (GNUNET_SCHEDULER_NO_TASK == entry->notify_task) | 785 | if (GNUNET_SCHEDULER_NO_TASK == entry->notify_task) |
786 | entry->notify_task = GNUNET_SCHEDULER_add_now (&call_cgh_cb, entry); | 786 | { |
787 | if (NULL != search_suitable_cgh (entry, entry->cgh->qhead)) | ||
788 | entry->notify_task = GNUNET_SCHEDULER_add_now (&call_cgh_cb, entry); | ||
789 | } | ||
787 | return cgh; | 790 | return cgh; |
788 | } | 791 | } |
789 | switch (cgh->type) | 792 | switch (cgh->type) |