aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-03-28 15:28:45 +0000
committerJulius Bünger <buenger@mytum.de>2015-03-28 15:28:45 +0000
commitd50372eb9d963ac9ff628b74fadada5281fd1c00 (patch)
tree4780f693c1fe3c7fc8168d2d0e4fcf5fb8506cbe /src
parent7c360cc7c7252bdf740b4e5186f1a852f002b13b (diff)
downloadgnunet-d50372eb9d963ac9ff628b74fadada5281fd1c00.tar.gz
gnunet-d50372eb9d963ac9ff628b74fadada5281fd1c00.zip
-renaming
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index f2d98291f..7f91f4203 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -75,7 +75,7 @@ get_rand_peer_ignore_list (const struct GNUNET_PeerIdentity *peer_list, unsigned
75/** 75/**
76 * Struct used to store the context of a connected client. 76 * Struct used to store the context of a connected client.
77 */ 77 */
78struct client_ctx 78struct ClientContext
79{ 79{
80 /** 80 /**
81 * The message queue to communicate with the client. 81 * The message queue to communicate with the client.
@@ -1241,7 +1241,7 @@ void client_respond (void *cls,
1241 struct GNUNET_RPS_CS_ReplyMessage *out_msg; 1241 struct GNUNET_RPS_CS_ReplyMessage *out_msg;
1242 struct ReplyCls *reply_cls = (struct ReplyCls *) cls; 1242 struct ReplyCls *reply_cls = (struct ReplyCls *) cls;
1243 uint32_t size_needed; 1243 uint32_t size_needed;
1244 struct client_ctx *cli_ctx; 1244 struct ClientContext *cli_ctx;
1245 1245
1246 LOG (GNUNET_ERROR_TYPE_DEBUG, 1246 LOG (GNUNET_ERROR_TYPE_DEBUG,
1247 "sampler returned %" PRIu32 " peers\n", 1247 "sampler returned %" PRIu32 " peers\n",
@@ -1263,9 +1263,9 @@ void client_respond (void *cls,
1263 num_peers * sizeof (struct GNUNET_PeerIdentity)); 1263 num_peers * sizeof (struct GNUNET_PeerIdentity));
1264 GNUNET_free (peer_ids); 1264 GNUNET_free (peer_ids);
1265 1265
1266 cli_ctx = GNUNET_SERVER_client_get_user_context (reply_cls->client, struct client_ctx); 1266 cli_ctx = GNUNET_SERVER_client_get_user_context (reply_cls->client, struct ClientContext);
1267 if (NULL == cli_ctx) { 1267 if (NULL == cli_ctx) {
1268 cli_ctx = GNUNET_new (struct client_ctx); 1268 cli_ctx = GNUNET_new (struct ClientContext);
1269 cli_ctx->mq = GNUNET_MQ_queue_for_server_client (reply_cls->client); 1269 cli_ctx->mq = GNUNET_MQ_queue_for_server_client (reply_cls->client);
1270 GNUNET_SERVER_client_set_user_context (reply_cls->client, cli_ctx); 1270 GNUNET_SERVER_client_set_user_context (reply_cls->client, cli_ctx);
1271 } 1271 }