aboutsummaryrefslogtreecommitdiff
path: root/src/util/configuration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/configuration.c')
-rw-r--r--src/util/configuration.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c
index 26beacaff..e5c01f81f 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -50,7 +50,7 @@ struct ConfigEntry
50 char *key; 50 char *key;
51 51
52 /** 52 /**
53 * current, commited value 53 * current, committed value
54 */ 54 */
55 char *val; 55 char *val;
56}; 56};
@@ -515,7 +515,7 @@ GNUNET_CONFIGURATION_serialize (const struct GNUNET_CONFIGURATION_Handle *cfg,
515 m_size = 0; 515 m_size = 0;
516 for (sec = cfg->sections; NULL != sec; sec = sec->next) 516 for (sec = cfg->sections; NULL != sec; sec = sec->next)
517 { 517 {
518 /* For each section we need to add 3 charaters: {'[',']','\n'} */ 518 /* For each section we need to add 3 characters: {'[',']','\n'} */
519 m_size += strlen (sec->name) + 3; 519 m_size += strlen (sec->name) + 3;
520 for (ent = sec->entries; NULL != ent; ent = ent->next) 520 for (ent = sec->entries; NULL != ent; ent = ent->next)
521 { 521 {
@@ -1230,7 +1230,7 @@ GNUNET_CONFIGURATION_have_value (const struct GNUNET_CONFIGURATION_Handle *cfg,
1230 1230
1231/** 1231/**
1232 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR" 1232 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR"
1233 * where either in the "PATHS" section or the environtment "FOO" is 1233 * where either in the "PATHS" section or the environment "FOO" is
1234 * set to "DIRECTORY". We also support default expansion, 1234 * set to "DIRECTORY". We also support default expansion,
1235 * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is 1235 * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is
1236 * set in PATHS or the environment, and otherwise to "default". Note 1236 * set in PATHS or the environment, and otherwise to "default". Note
@@ -1392,7 +1392,7 @@ expand_dollar (const struct GNUNET_CONFIGURATION_Handle *cfg,
1392 1392
1393/** 1393/**
1394 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR" 1394 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR"
1395 * where either in the "PATHS" section or the environtment "FOO" is 1395 * where either in the "PATHS" section or the environment "FOO" is
1396 * set to "DIRECTORY". We also support default expansion, 1396 * set to "DIRECTORY". We also support default expansion,
1397 * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is 1397 * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is
1398 * set in PATHS or the environment, and otherwise to "default". Note 1398 * set in PATHS or the environment, and otherwise to "default". Note