gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36293 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36293 - gnunet/src/cadet
Date: Thu, 3 Sep 2015 20:03:56 +0200

Author: bartpolot
Date: 2015-09-03 20:03:56 +0200 (Thu, 03 Sep 2015)
New Revision: 36293

Modified:
   gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- assert on create

Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c  2015-09-03 18:03:55 UTC 
(rev 36292)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c  2015-09-03 18:03:56 UTC 
(rev 36293)
@@ -2964,6 +2964,7 @@
 
   GCC_check_connections ();
   p = path_duplicate (path);
+  GNUNET_assert (NULL != p);
   c = GNUNET_new (struct CadetConnection);
   c->id = *cid;
   GNUNET_assert (GNUNET_OK ==
@@ -2980,7 +2981,6 @@
   c->own_pos = own_pos;
   c->path = p;
   p->c = c;
-  GNUNET_assert (NULL != p);
   if (GNUNET_OK != register_neighbors (c))
   {
     if (0 == own_pos)




reply via email to

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