gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6432 - GNUnet/src/applications/vpn


From: gnunet
Subject: [GNUnet-SVN] r6432 - GNUnet/src/applications/vpn
Date: Sun, 24 Feb 2008 00:59:14 -0700 (MST)

Author: grothoff
Date: 2008-02-24 00:59:13 -0700 (Sun, 24 Feb 2008)
New Revision: 6432

Modified:
   GNUnet/src/applications/vpn/gnunet-vpn.c
   GNUnet/src/applications/vpn/p2p.c
Log:
stuff

Modified: GNUnet/src/applications/vpn/gnunet-vpn.c
===================================================================
--- GNUnet/src/applications/vpn/gnunet-vpn.c    2008-02-24 07:49:35 UTC (rev 
6431)
+++ GNUnet/src/applications/vpn/gnunet-vpn.c    2008-02-24 07:59:13 UTC (rev 
6432)
@@ -22,6 +22,10 @@
  * @file applications/vpn/gnunet-vpn.c
  * @brief Utility to admin VPN
  * @author Michael John Wensley
+ *
+ * TODO:
+ * - clean up use of semaphores / signaling
+ * - make proper use of structs
  */
 
 #include "gnunet_util.h"

Modified: GNUnet/src/applications/vpn/p2p.c
===================================================================
--- GNUnet/src/applications/vpn/p2p.c   2008-02-24 07:49:35 UTC (rev 6431)
+++ GNUnet/src/applications/vpn/p2p.c   2008-02-24 07:59:13 UTC (rev 6432)
@@ -262,11 +262,6 @@
                   rgp =
                     GNUNET_malloc (sizeof (GNUNET_MessageHeader) +
                                    sizeof (int));
-                  if (rgp == NULL)
-                    {
-                      GNUNET_mutex_unlock (lock);
-                      return GNUNET_OK;
-                    }
                   rgp->type = htons (GNUNET_P2P_PROTO_AIP_GETROUTE);
                   rgp->size =
                     htons (sizeof (GNUNET_MessageHeader) + sizeof (int));





reply via email to

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