aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-28 08:29:16 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-28 08:29:16 +0000
commit9f3b114994eb61226ded9433daa89e625818708c (patch)
tree1ee80da23400dda9dbef82144d49ef5e8d406636 /src
parent167f1b8cee643a2ab489918cb2f15d88079288e7 (diff)
downloadgnunet-9f3b114994eb61226ded9433daa89e625818708c.tar.gz
gnunet-9f3b114994eb61226ded9433daa89e625818708c.zip
return value
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_transport_api_disconnect.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c
index 4335272a7..0be922e93 100644
--- a/src/transport/test_transport_api_disconnect.c
+++ b/src/transport/test_transport_api_disconnect.c
@@ -89,7 +89,7 @@ char *cfg_file_p2;
89static void 89static void
90end () 90end ()
91{ 91{
92 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Stopping peers\n"); 92 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peers\n");
93 93
94 if (send_task != GNUNET_SCHEDULER_NO_TASK) 94 if (send_task != GNUNET_SCHEDULER_NO_TASK)
95 { 95 {
@@ -114,6 +114,9 @@ end ()
114 if (p2 != NULL) 114 if (p2 != NULL)
115 GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2); 115 GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2);
116 p2 = NULL; 116 p2 = NULL;
117
118 /* success */
119 ok = 0;
117} 120}
118 121
119static void 122static void
@@ -146,7 +149,7 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
146{ 149{
147 struct PeerContext *p = cls; 150 struct PeerContext *p = cls;
148 char * ps = strdup (GNUNET_i2s(&p->id)); 151 char * ps = strdup (GNUNET_i2s(&p->id));
149 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Peer %u (`%4s'): peer (`%s') disconnected from me!\n", 152 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s'): peer (`%s') disconnected from me!\n",
150 p->no, ps, GNUNET_i2s (peer)); 153 p->no, ps, GNUNET_i2s (peer));
151 154
152 if (th != NULL) 155 if (th != NULL)