aboutsummaryrefslogtreecommitdiff
path: root/src/arm/mockup-service.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-29 17:05:12 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-29 17:05:12 +0000
commitdb62b73f216cbf6c955e6f1b9eceffa7beae7339 (patch)
treed2f09591a7d87bce4c565956e01a7b0cdf5238f9 /src/arm/mockup-service.c
parentf37a1330954a757525a34ebecc074412e66d7fe8 (diff)
downloadgnunet-db62b73f216cbf6c955e6f1b9eceffa7beae7339.tar.gz
gnunet-db62b73f216cbf6c955e6f1b9eceffa7beae7339.zip
-convert backoff test to new MQ API
Diffstat (limited to 'src/arm/mockup-service.c')
-rw-r--r--src/arm/mockup-service.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/arm/mockup-service.c b/src/arm/mockup-service.c
index b60acc355..0870cea8d 100644
--- a/src/arm/mockup-service.c
+++ b/src/arm/mockup-service.c
@@ -34,8 +34,9 @@ static int special_ret = 0;
34 * @param message the actual message 34 * @param message the actual message
35 */ 35 */
36static void 36static void
37handle_stop (void *cls, struct GNUNET_SERVER_Client *client, 37handle_stop (void *cls,
38 const struct GNUNET_MessageHeader *message) 38 struct GNUNET_SERVER_Client *client,
39 const struct GNUNET_MessageHeader *message)
39{ 40{
40 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 41 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
41 _("Initiating shutdown as requested by client.\n")); 42 _("Initiating shutdown as requested by client.\n"));
@@ -49,7 +50,8 @@ handle_stop (void *cls, struct GNUNET_SERVER_Client *client,
49 50
50 51
51static void 52static void
52run (void *cls, struct GNUNET_SERVER_Handle *server, 53run (void *cls,
54 struct GNUNET_SERVER_Handle *server,
53 const struct GNUNET_CONFIGURATION_Handle *cfg) 55 const struct GNUNET_CONFIGURATION_Handle *cfg)
54{ 56{
55 static const struct GNUNET_SERVER_MessageHandler handlers[] = { 57 static const struct GNUNET_SERVER_MessageHandler handlers[] = {