diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/auction/gnunet-auction-join.c | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/auction/gnunet-auction-join.c')
-rw-r--r-- | src/auction/gnunet-auction-join.c | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/auction/gnunet-auction-join.c b/src/auction/gnunet-auction-join.c index 58639a57c..ef46ca212 100644 --- a/src/auction/gnunet-auction-join.c +++ b/src/auction/gnunet-auction-join.c | |||
@@ -11,12 +11,12 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file auction/gnunet-auction.c | 22 | * @file auction/gnunet-auction.c |
@@ -42,10 +42,10 @@ static int ret; | |||
42 | * @param cfg configuration | 42 | * @param cfg configuration |
43 | */ | 43 | */ |
44 | static void | 44 | static void |
45 | run (void *cls, | 45 | run(void *cls, |
46 | char *const *args, | 46 | char *const *args, |
47 | const char *cfgfile, | 47 | const char *cfgfile, |
48 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 48 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
49 | { | 49 | { |
50 | /* main code here */ | 50 | /* main code here */ |
51 | } | 51 | } |
@@ -59,25 +59,26 @@ run (void *cls, | |||
59 | * @return 0 ok, 1 on error | 59 | * @return 0 ok, 1 on error |
60 | */ | 60 | */ |
61 | int | 61 | int |
62 | main (int argc, char *const *argv) | 62 | main(int argc, char *const *argv) |
63 | { | 63 | { |
64 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 64 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { |
65 | /* FIMXE: add options here */ | 65 | /* FIMXE: add options here */ |
66 | GNUNET_GETOPT_OPTION_END | 66 | GNUNET_GETOPT_OPTION_END |
67 | }; | 67 | }; |
68 | |||
68 | if (GNUNET_OK != | 69 | if (GNUNET_OK != |
69 | GNUNET_STRINGS_get_utf8_args (argc, argv, | 70 | GNUNET_STRINGS_get_utf8_args(argc, argv, |
70 | &argc, &argv)) | 71 | &argc, &argv)) |
71 | return 2; | 72 | return 2; |
72 | 73 | ||
73 | ret = (GNUNET_OK == | 74 | ret = (GNUNET_OK == |
74 | GNUNET_PROGRAM_run (argc, argv, | 75 | GNUNET_PROGRAM_run(argc, argv, |
75 | "gnunet-auction", | 76 | "gnunet-auction", |
76 | gettext_noop ("help text"), | 77 | gettext_noop("help text"), |
77 | options, | 78 | options, |
78 | &run, | 79 | &run, |
79 | NULL)) ? ret : 1; | 80 | NULL)) ? ret : 1; |
80 | GNUNET_free ((void*) argv); | 81 | GNUNET_free((void*)argv); |
81 | return ret; | 82 | return ret; |
82 | } | 83 | } |
83 | 84 | ||