diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-05-24 09:35:37 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-05-24 09:35:37 +0000 |
commit | 101f5787ac60dafa175950fb714c6d4cc4906478 (patch) | |
tree | 711c8042c8b22856b0946d0c819a3520498ac274 /src/statistics/gnunet-service-statistics.c | |
parent | 6743123dcc6b37dabf2759f384a7f6ad08a08bec (diff) | |
download | gnunet-101f5787ac60dafa175950fb714c6d4cc4906478.tar.gz gnunet-101f5787ac60dafa175950fb714c6d4cc4906478.zip |
- adding return value to mst callback
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index 5cced1426..efd834624 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -214,12 +214,13 @@ static int in_shutdown; | |||
214 | * @param client unused | 214 | * @param client unused |
215 | * @param msg message to inject | 215 | * @param msg message to inject |
216 | */ | 216 | */ |
217 | static void | 217 | static int |
218 | inject_message (void *cls, void *client, const struct GNUNET_MessageHeader *msg) | 218 | inject_message (void *cls, void *client, const struct GNUNET_MessageHeader *msg) |
219 | { | 219 | { |
220 | struct GNUNET_SERVER_Handle *server = cls; | 220 | struct GNUNET_SERVER_Handle *server = cls; |
221 | 221 | ||
222 | GNUNET_break (GNUNET_OK == GNUNET_SERVER_inject (server, NULL, msg)); | 222 | GNUNET_break (GNUNET_OK == GNUNET_SERVER_inject (server, NULL, msg)); |
223 | return GNUNET_OK; | ||
223 | } | 224 | } |
224 | 225 | ||
225 | 226 | ||