gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r15623 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r15623 - gnunet/src/vpn
Date: Wed, 15 Jun 2011 09:15:47 +0200

Author: toelke
Date: 2011-06-15 09:15:47 +0200 (Wed, 15 Jun 2011)
New Revision: 15623

Modified:
   gnunet/src/vpn/gnunet-service-dns.c
Log:
Mesh calls me with a NULL peer to terminate the list of peers

Modified: gnunet/src/vpn/gnunet-service-dns.c
===================================================================
--- gnunet/src/vpn/gnunet-service-dns.c 2011-06-15 07:15:46 UTC (rev 15622)
+++ gnunet/src/vpn/gnunet-service-dns.c 2011-06-15 07:15:47 UTC (rev 15623)
@@ -238,6 +238,7 @@
 
 
 void mesh_connect (void* cls, const struct GNUNET_PeerIdentity* peer, const 
struct GNUNET_TRANSPORT_ATS_Information *atsi __attribute__((unused))) {
+  if (NULL == peer) return;
   GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Connected to peer %x\n", *((unsigned 
long*)peer));
   struct tunnel_cls *cls_ = (struct tunnel_cls*)cls;
 




reply via email to

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