gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35479 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r35479 - gnunet/src/rps
Date: Sat, 28 Mar 2015 16:28:45 +0100

Author: ch3
Date: 2015-03-28 16:28:45 +0100 (Sat, 28 Mar 2015)
New Revision: 35479

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-renaming

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-03-27 13:56:20 UTC (rev 35478)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-03-28 15:28:45 UTC (rev 35479)
@@ -75,7 +75,7 @@
 /**
  * Struct used to store the context of a connected client.
  */
-struct client_ctx
+struct ClientContext
 {
   /**
    * The message queue to communicate with the client.
@@ -1241,7 +1241,7 @@
   struct GNUNET_RPS_CS_ReplyMessage *out_msg;
   struct ReplyCls *reply_cls = (struct ReplyCls *) cls;
   uint32_t size_needed;
-  struct client_ctx *cli_ctx;
+  struct ClientContext *cli_ctx;
 
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "sampler returned %" PRIu32 " peers\n",
@@ -1263,9 +1263,9 @@
           num_peers * sizeof (struct GNUNET_PeerIdentity));
   GNUNET_free (peer_ids);
 
-  cli_ctx = GNUNET_SERVER_client_get_user_context (reply_cls->client, struct 
client_ctx);
+  cli_ctx = GNUNET_SERVER_client_get_user_context (reply_cls->client, struct 
ClientContext);
   if (NULL == cli_ctx) {
-    cli_ctx = GNUNET_new (struct client_ctx);
+    cli_ctx = GNUNET_new (struct ClientContext);
     cli_ctx->mq = GNUNET_MQ_queue_for_server_client (reply_cls->client);
     GNUNET_SERVER_client_set_user_context (reply_cls->client, cli_ctx);
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]