diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-29 17:22:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-29 17:22:08 +0000 |
commit | 7d77825b6694b3d17537b5cc4ce74c1e365764c2 (patch) | |
tree | dd2c81d5758123f98539c0bcc6879f7bbaabb861 /src/fs/gnunet-service-fs_pr.c | |
parent | d4e9b7dbffef5f63864b6366133d86195e9450e7 (diff) | |
download | gnunet-7d77825b6694b3d17537b5cc4ce74c1e365764c2.tar.gz gnunet-7d77825b6694b3d17537b5cc4ce74c1e365764c2.zip |
-fix #3133
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index 105093361..e5a789a2b 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -719,10 +719,8 @@ GSF_iterate_pending_requests_ (GSF_PendingRequestIterator it, void *cls) | |||
719 | } | 719 | } |
720 | 720 | ||
721 | 721 | ||
722 | |||
723 | |||
724 | /** | 722 | /** |
725 | * Closure for "process_reply" function. | 723 | * Closure for process_reply() function. |
726 | */ | 724 | */ |
727 | struct ProcessReplyClosure | 725 | struct ProcessReplyClosure |
728 | { | 726 | { |
@@ -800,7 +798,9 @@ update_request_performance_data (struct ProcessReplyClosure *prq, | |||
800 | * @return #GNUNET_YES (we should continue to iterate) | 798 | * @return #GNUNET_YES (we should continue to iterate) |
801 | */ | 799 | */ |
802 | static int | 800 | static int |
803 | process_reply (void *cls, const struct GNUNET_HashCode * key, void *value) | 801 | process_reply (void *cls, |
802 | const struct GNUNET_HashCode *key, | ||
803 | void *value) | ||
804 | { | 804 | { |
805 | struct ProcessReplyClosure *prq = cls; | 805 | struct ProcessReplyClosure *prq = cls; |
806 | struct GSF_PendingRequest *pr = value; | 806 | struct GSF_PendingRequest *pr = value; |
@@ -1151,10 +1151,10 @@ GSF_dht_lookup_ (struct GSF_PendingRequest *pr) | |||
1151 | */ | 1151 | */ |
1152 | static void | 1152 | static void |
1153 | mesh_reply_proc (void *cls, | 1153 | mesh_reply_proc (void *cls, |
1154 | enum GNUNET_BLOCK_Type type, | 1154 | enum GNUNET_BLOCK_Type type, |
1155 | struct GNUNET_TIME_Absolute expiration, | 1155 | struct GNUNET_TIME_Absolute expiration, |
1156 | size_t data_size, | 1156 | size_t data_size, |
1157 | const void *data) | 1157 | const void *data) |
1158 | { | 1158 | { |
1159 | struct GSF_PendingRequest *pr = cls; | 1159 | struct GSF_PendingRequest *pr = cls; |
1160 | struct ProcessReplyClosure prq; | 1160 | struct ProcessReplyClosure prq; |
@@ -1173,10 +1173,10 @@ mesh_reply_proc (void *cls, | |||
1173 | /* retry -- without delay, as this is non-anonymous | 1173 | /* retry -- without delay, as this is non-anonymous |
1174 | and mesh/mesh connect will take some time anyway */ | 1174 | and mesh/mesh connect will take some time anyway */ |
1175 | pr->mesh_request = GSF_mesh_query (pr->public_data.target, | 1175 | pr->mesh_request = GSF_mesh_query (pr->public_data.target, |
1176 | &pr->public_data.query, | 1176 | &pr->public_data.query, |
1177 | pr->public_data.type, | 1177 | pr->public_data.type, |
1178 | &mesh_reply_proc, | 1178 | &mesh_reply_proc, |
1179 | pr); | 1179 | pr); |
1180 | return; | 1180 | return; |
1181 | } | 1181 | } |
1182 | if (GNUNET_YES != | 1182 | if (GNUNET_YES != |