[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34656 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34656 - gnunet/src/core |
Date: |
Tue, 16 Dec 2014 21:30:52 +0100 |
Author: grothoff
Date: 2014-12-16 21:30:52 +0100 (Tue, 16 Dec 2014)
New Revision: 34656
Modified:
gnunet/src/core/core_api.c
Log:
-pass peer identity pointer to clients that will remain allocated
Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c 2014-12-16 20:25:51 UTC (rev 34655)
+++ gnunet/src/core/core_api.c 2014-12-16 20:30:52 UTC (rev 34656)
@@ -836,7 +836,7 @@
&h->me, pr,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST));
if (NULL != h->connects)
- h->connects (h->cls, &h->me);
+ h->connects (h->cls, &pr->peer);
break;
case GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT:
if (msize < sizeof (struct ConnectNotifyMessage))
@@ -879,7 +879,7 @@
&cnm->peer, pr,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST));
if (NULL != h->connects)
- h->connects (h->cls, &cnm->peer);
+ h->connects (h->cls, &pr->peer);
break;
case GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT:
if (msize != sizeof (struct DisconnectNotifyMessage))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34656 - gnunet/src/core,
gnunet <=