[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31987 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31987 - gnunet/src/mesh |
Date: |
Tue, 21 Jan 2014 16:05:26 +0100 |
Author: bartpolot
Date: 2014-01-21 16:05:26 +0100 (Tue, 21 Jan 2014)
New Revision: 31987
Modified:
gnunet/src/mesh/test_mesh_local.c
Log:
- Test if we are shutting down (on Ctrl-C, for instance)
Modified: gnunet/src/mesh/test_mesh_local.c
===================================================================
--- gnunet/src/mesh/test_mesh_local.c 2014-01-21 14:44:16 UTC (rev 31986)
+++ gnunet/src/mesh/test_mesh_local.c 2014-01-21 15:05:26 UTC (rev 31987)
@@ -254,6 +254,9 @@
{
struct GNUNET_PeerIdentity id;
+ if (NULL != tc && 0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
+ return;
+
GNUNET_TESTING_peer_get_identity (me, &id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CONNECT BY PORT\n");
ch = GNUNET_MESH_channel_create (mesh_peer_1, NULL, &id, 1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31987 - gnunet/src/mesh,
gnunet <=