[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28806 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28806 - gnunet/src/core |
Date: |
Fri, 23 Aug 2013 09:51:49 +0200 |
Author: wachs
Date: 2013-08-23 09:51:49 +0200 (Fri, 23 Aug 2013)
New Revision: 28806
Modified:
gnunet/src/core/test_core_api_reliability.c
Log:
how did this test ever work without assigning core handles?
Modified: gnunet/src/core/test_core_api_reliability.c
===================================================================
--- gnunet/src/core/test_core_api_reliability.c 2013-08-23 07:36:11 UTC (rev
28805)
+++ gnunet/src/core/test_core_api_reliability.c 2013-08-23 07:51:49 UTC (rev
28806)
@@ -372,9 +372,9 @@
GNUNET_assert (ok == 2);
OKPP;
/* connect p2 */
- GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify,
+ GNUNET_assert (NULL != (p2.ch = GNUNET_CORE_connect (p2.cfg, &p2,
&init_notify, &connect_notify,
&disconnect_notify, &inbound_notify, GNUNET_YES,
- &outbound_notify, GNUNET_YES, handlers);
+ &outbound_notify, GNUNET_YES, handlers)));
}
else
{
@@ -439,9 +439,10 @@
setup_peer (&p2, "test_core_api_peer2.conf");
err_task =
GNUNET_SCHEDULER_add_delayed (TIMEOUT, &terminate_task_error, NULL);
- GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify,
+
+ GNUNET_assert (NULL != (p1.ch = GNUNET_CORE_connect (p1.cfg, &p1,
&init_notify, &connect_notify,
&disconnect_notify, &inbound_notify, GNUNET_YES,
- &outbound_notify, GNUNET_YES, handlers);
+ &outbound_notify, GNUNET_YES, handlers)));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28806 - gnunet/src/core,
gnunet <=