diff options
author | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-11-30 13:50:22 +0000 |
---|---|---|
committer | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-11-30 13:50:22 +0000 |
commit | e032cc1f8106710fba610b5293b6960df0bd23d0 (patch) | |
tree | c26b77385e9b5aba42778231e2f737fba0102d3e | |
parent | d64c0c306a4f57d48c28101df66cc3591074f054 (diff) |
- Clarify doc
git-svn-id: https://gnunet.org/svn/gnunet@25171 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r-- | src/include/gnunet_getopt_lib.h | 2 | ||||
-rw-r--r-- | src/util/getopt_helpers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h index 3008b81460..a22b3f3d3d 100644 --- a/src/include/gnunet_getopt_lib.h +++ b/src/include/gnunet_getopt_lib.h @@ -291,7 +291,7 @@ GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, * A pointer to this function should be passed as part of the * 'struct GNUNET_GETOPT_CommandLineOption' array to initialize options * of this type. It should be followed by a pointer to a value of - * type 'char *'. + * type 'char *', which will be allocated with the requested string. * * @param ctx command line processing context * @param scls additional closure (will point to the 'char *', diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c index 1e3b05cb56..5940c3ff97 100644 --- a/src/util/getopt_helpers.c +++ b/src/util/getopt_helpers.c @@ -212,7 +212,7 @@ GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, * A pointer to this function should be passed as part of the * 'struct GNUNET_GETOPT_CommandLineOption' array to initialize options * of this type. It should be followed by a pointer to a value of - * type 'char *'. + * type 'char *', which will be allocated with the requested string. * * @param ctx command line processing context * @param scls additional closure (will point to the 'char *', |