gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r36210 - gnunet/src/rps
Date: Wed, 5 Aug 2015 23:47:34 +0200

Author: ch3
Date: 2015-08-05 23:47:34 +0200 (Wed, 05 Aug 2015)
New Revision: 36210

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-rename and fix char pointer

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-08-05 17:46:18 UTC (rev 36209)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-08-05 21:47:34 UTC (rev 36210)
@@ -1153,9 +1153,9 @@
  * @param cls type of the message that was sent
  */
 static void
-ntfy_callback (void *cls)
+mq_notify_sent_cb (void *cls)
 {
-  char *type = (char *) cls;
+  const char *type = cls;
   LOG (GNUNET_ERROR_TYPE_DEBUG,
       "%s was sent.\n",
       type);
@@ -1209,7 +1209,7 @@
          send_size * sizeof (struct GNUNET_PeerIdentity));
 
   GNUNET_MQ_notify_sent (ev,
-      ntfy_callback,
+      mq_notify_sent_cb,
       "PULL REPLY");
   GNUNET_MQ_send (mq, ev);
 }
@@ -1940,7 +1940,7 @@
   ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_RPS_PP_PULL_REQUEST);
   mq = get_mq (peer_id);
   GNUNET_MQ_notify_sent (ev,
-      ntfy_callback,
+      mq_notify_sent_cb,
       "PULL REQUEST");
   GNUNET_MQ_send (mq, ev);
 }
@@ -1964,7 +1964,7 @@
   ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_RPS_PP_PUSH);
   mq = get_mq (peer_id);
   GNUNET_MQ_notify_sent (ev,
-      ntfy_callback,
+      mq_notify_sent_cb,
       "PUSH");
   GNUNET_MQ_send (mq, ev);
 }




reply via email to

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