mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
fix typos
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
d29b498cae
commit
8731c6a11f
4 changed files with 6 additions and 6 deletions
|
|
@ -377,7 +377,7 @@ void parse_config(struct conf_t *state, const int is_include, const char *restri
|
||||||
newclause = 1;
|
newclause = 1;
|
||||||
break;
|
break;
|
||||||
case ITS_A_RANGE_FIRST_IP:
|
case ITS_A_RANGE_FIRST_IP:
|
||||||
/* printf ("range 1nd ip: %s\n", word); */
|
/* printf ("range 1st ip: %s\n", word); */
|
||||||
range_p = state->ranges + state->num_ranges;
|
range_p = state->ranges + state->num_ranges;
|
||||||
if (!(parse_ipaddr(state, word, &addr)))
|
if (!(parse_ipaddr(state, word, &addr)))
|
||||||
/* word was not ip, try again */
|
/* word was not ip, try again */
|
||||||
|
|
|
||||||
|
|
@ -362,7 +362,7 @@ static int must_enter(void *closure, const char *name)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! \brief Function that is called when all elements within a print loop are outputed. */
|
/*! \brief Function that is called when all elements within a print loop are outputted. */
|
||||||
static int must_leave(void *closure)
|
static int must_leave(void *closure)
|
||||||
{
|
{
|
||||||
struct expl *e = closure;
|
struct expl *e = closure;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ struct mustach_itf {
|
||||||
/**
|
/**
|
||||||
* fmustach - Renders the mustache 'template' in 'file' for 'itf' and 'closure'.
|
* fmustach - Renders the mustache 'template' in 'file' for 'itf' and 'closure'.
|
||||||
*
|
*
|
||||||
* @template: the template string to instanciate
|
* @template: the template string to instantiate
|
||||||
* @itf: the interface to the functions that mustach calls
|
* @itf: the interface to the functions that mustach calls
|
||||||
* @closure: the closure to pass to functions called
|
* @closure: the closure to pass to functions called
|
||||||
* @file: the file where to write the result
|
* @file: the file where to write the result
|
||||||
|
|
@ -84,7 +84,7 @@ extern int fmustach(const char *template, struct mustach_itf *itf, void *closure
|
||||||
/**
|
/**
|
||||||
* fmustach - Renders the mustache 'template' in 'fd' for 'itf' and 'closure'.
|
* fmustach - Renders the mustache 'template' in 'fd' for 'itf' and 'closure'.
|
||||||
*
|
*
|
||||||
* @template: the template string to instanciate
|
* @template: the template string to instantiate
|
||||||
* @itf: the interface to the functions that mustach calls
|
* @itf: the interface to the functions that mustach calls
|
||||||
* @closure: the closure to pass to functions called
|
* @closure: the closure to pass to functions called
|
||||||
* @fd: the file descriptor number where to write the result
|
* @fd: the file descriptor number where to write the result
|
||||||
|
|
@ -97,7 +97,7 @@ extern int fdmustach(const char *template, struct mustach_itf *itf, void *closur
|
||||||
/**
|
/**
|
||||||
* fmustach - Renders the mustache 'template' in 'result' for 'itf' and 'closure'.
|
* fmustach - Renders the mustache 'template' in 'result' for 'itf' and 'closure'.
|
||||||
*
|
*
|
||||||
* @template: the template string to instanciate
|
* @template: the template string to instantiate
|
||||||
* @itf: the interface to the functions that mustach calls
|
* @itf: the interface to the functions that mustach calls
|
||||||
* @closure: the closure to pass to functions called
|
* @closure: the closure to pass to functions called
|
||||||
* @result: the pointer receiving the result when 0 is returned
|
* @result: the pointer receiving the result when 0 is returned
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ enum count_status_t {
|
||||||
};
|
};
|
||||||
|
|
||||||
/*! \var color_tags
|
/*! \var color_tags
|
||||||
* \brief Array of stings that make colors to start and end in different
|
* \brief Array of strings that make colors to start and end in different
|
||||||
* schemas per array column. */
|
* schemas per array column. */
|
||||||
static const char *color_tags[][NUM_OF_OUT_FORMS] = {
|
static const char *color_tags[][NUM_OF_OUT_FORMS] = {
|
||||||
[STATUS_OK] = { "", "" },
|
[STATUS_OK] = { "", "" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue