aboutsummaryrefslogtreecommitdiff
path: root/src/auction/gnunet-auction-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auction/gnunet-auction-info.c')
-rw-r--r--src/auction/gnunet-auction-info.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/auction/gnunet-auction-info.c b/src/auction/gnunet-auction-info.c
index ef46ca212..05bee50ef 100644
--- a/src/auction/gnunet-auction-info.c
+++ b/src/auction/gnunet-auction-info.c
@@ -42,10 +42,10 @@ static int ret;
42 * @param cfg configuration 42 * @param cfg configuration
43 */ 43 */
44static void 44static void
45run(void *cls, 45run (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,7 +59,7 @@ run(void *cls,
59 * @return 0 ok, 1 on error 59 * @return 0 ok, 1 on error
60 */ 60 */
61int 61int
62main(int argc, char *const *argv) 62main (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 */
@@ -67,18 +67,18 @@ main(int argc, char *const *argv)
67 }; 67 };
68 68
69 if (GNUNET_OK != 69 if (GNUNET_OK !=
70 GNUNET_STRINGS_get_utf8_args(argc, argv, 70 GNUNET_STRINGS_get_utf8_args (argc, argv,
71 &argc, &argv)) 71 &argc, &argv))
72 return 2; 72 return 2;
73 73
74 ret = (GNUNET_OK == 74 ret = (GNUNET_OK ==
75 GNUNET_PROGRAM_run(argc, argv, 75 GNUNET_PROGRAM_run (argc, argv,
76 "gnunet-auction", 76 "gnunet-auction",
77 gettext_noop("help text"), 77 gettext_noop ("help text"),
78 options, 78 options,
79 &run, 79 &run,
80 NULL)) ? ret : 1; 80 NULL)) ? ret : 1;
81 GNUNET_free((void*)argv); 81 GNUNET_free ((void*) argv);
82 return ret; 82 return ret;
83} 83}
84 84