gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r373 - GNUnet/src/applications/topology_f2f


From: grothoff
Subject: [GNUnet-SVN] r373 - GNUnet/src/applications/topology_f2f
Date: Fri, 4 Mar 2005 22:53:10 -0800 (PST)

Author: grothoff
Date: 2005-03-04 22:53:09 -0800 (Fri, 04 Mar 2005)
New Revision: 373

Modified:
   GNUnet/src/applications/topology_f2f/topology.c
Log:
minor compile error

Modified: GNUnet/src/applications/topology_f2f/topology.c
===================================================================
--- GNUnet/src/applications/topology_f2f/topology.c     2005-03-05 06:52:18 UTC 
(rev 372)
+++ GNUnet/src/applications/topology_f2f/topology.c     2005-03-05 06:53:09 UTC 
(rev 373)
@@ -38,7 +38,7 @@
 #include "gnunet_core.h"
 #include "gnunet_protocols.h"
 #include "gnunet_topology_service.h"
-#include "gnunet_friend_service.h"
+#include "gnunet_identity_service.h"
 #include "gnunet_session_service.h"
 #include "gnunet_transport_service.h"
 #include "gnunet_pingpong_service.h"
@@ -82,11 +82,11 @@
 static unsigned int friendCount;
 
 
-static int allowConnection(const PeerIdentity peer) {
+static int allowConnection(const PeerIdentity * peer) {
   int i;
 
   for (i=friendCount-1;i>=0;i--)
-    if (hostIdentityEquals(&friends[i], id)) 
+    if (hostIdentityEquals(&friends[i], peer)) 
       return OK;
   return SYSERR;
 }





reply via email to

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