summaryrefslogtreecommitdiff
path: root/src/util/gnunet-resolver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-resolver.c')
-rw-r--r--src/util/gnunet-resolver.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/util/gnunet-resolver.c b/src/util/gnunet-resolver.c
index 6a602c64e..8a6c7fbe9 100644
--- a/src/util/gnunet-resolver.c
+++ b/src/util/gnunet-resolver.c
@@ -171,14 +171,18 @@ main (int argc, char *const *argv)
};
int ret;
- if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
+ if (GNUNET_OK !=
+ GNUNET_STRINGS_get_utf8_args (argc, argv,
+ &argc, &argv))
return 2;
ret = (GNUNET_OK ==
- GNUNET_PROGRAM_run (argc, argv, "gnunet-resolver [hostname]",
+ GNUNET_PROGRAM_run (argc, argv,
+ "gnunet-resolver [hostname]",
gettext_noop ("Use build-in GNUnet stub resolver"),
- options, &run, NULL)) ? 0 : 1;
- GNUNET_free ((void *) argv);
+ options,
+ &run, NULL)) ? 0 : 1;
+ GNUNET_free_nz ((void *) argv);
return ret;
}