diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-28 08:29:16 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-28 08:29:16 +0000 |
commit | 9f3b114994eb61226ded9433daa89e625818708c (patch) | |
tree | 1ee80da23400dda9dbef82144d49ef5e8d406636 /src | |
parent | 167f1b8cee643a2ab489918cb2f15d88079288e7 (diff) | |
download | gnunet-9f3b114994eb61226ded9433daa89e625818708c.tar.gz gnunet-9f3b114994eb61226ded9433daa89e625818708c.zip |
return value
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/test_transport_api_disconnect.c | 7 |
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; | |||
89 | static void | 89 | static void |
90 | end () | 90 | end () |
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 | ||
119 | static void | 122 | static 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) |