diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/arm/mockup-service.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/arm/mockup-service.c')
-rw-r--r-- | src/arm/mockup-service.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/arm/mockup-service.c b/src/arm/mockup-service.c index 0a0e1de5a..53a502fa8 100644 --- a/src/arm/mockup-service.c +++ b/src/arm/mockup-service.c | |||
@@ -61,8 +61,7 @@ transmit_shutdown_ack (void *cls, size_t size, void *buf) | |||
61 | * @param message the actual message | 61 | * @param message the actual message |
62 | */ | 62 | */ |
63 | static void | 63 | static void |
64 | handle_shutdown (void *cls, | 64 | handle_shutdown (void *cls, struct GNUNET_SERVER_Client *client, |
65 | struct GNUNET_SERVER_Client *client, | ||
66 | const struct GNUNET_MessageHeader *message) | 65 | const struct GNUNET_MessageHeader *message) |
67 | { | 66 | { |
68 | GNUNET_SERVER_client_keep (client); | 67 | GNUNET_SERVER_client_keep (client); |
@@ -79,8 +78,7 @@ handle_shutdown (void *cls, | |||
79 | 78 | ||
80 | 79 | ||
81 | static void | 80 | static void |
82 | run (void *cls, | 81 | run (void *cls, struct GNUNET_SERVER_Handle *server, |
83 | struct GNUNET_SERVER_Handle *server, | ||
84 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 82 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
85 | { | 83 | { |
86 | static const struct GNUNET_SERVER_MessageHandler handlers[] = { | 84 | static const struct GNUNET_SERVER_MessageHandler handlers[] = { |
@@ -99,10 +97,9 @@ main (int argc, char *const *argv) | |||
99 | { | 97 | { |
100 | int ret; | 98 | int ret; |
101 | 99 | ||
102 | ret = (GNUNET_OK == | 100 | ret = |
103 | GNUNET_SERVICE_run (argc, | 101 | (GNUNET_OK == |
104 | argv, | 102 | GNUNET_SERVICE_run (argc, argv, "do-nothing", GNUNET_SERVICE_OPTION_NONE, |
105 | "do-nothing", GNUNET_SERVICE_OPTION_NONE, | 103 | &run, NULL)) ? 0 : 1; |
106 | &run, NULL)) ? 0 : 1; | ||
107 | return ret; | 104 | return ret; |
108 | } | 105 | } |