From 8731c6a11fa24560fd17c780f290642bf67c5391 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 14 Jan 2019 22:59:13 +0000 Subject: [PATCH] fix typos Signed-off-by: Sami Kerola --- src/getdata.c | 2 +- src/mustach-dhcpd-pools.c | 2 +- src/mustach.h | 6 +++--- src/output.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/getdata.c b/src/getdata.c index 36a9c9e..9d4e288 100644 --- a/src/getdata.c +++ b/src/getdata.c @@ -377,7 +377,7 @@ void parse_config(struct conf_t *state, const int is_include, const char *restri newclause = 1; break; 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; if (!(parse_ipaddr(state, word, &addr))) /* word was not ip, try again */ diff --git a/src/mustach-dhcpd-pools.c b/src/mustach-dhcpd-pools.c index d152938..9a8ec37 100644 --- a/src/mustach-dhcpd-pools.c +++ b/src/mustach-dhcpd-pools.c @@ -362,7 +362,7 @@ static int must_enter(void *closure, const char *name) 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) { struct expl *e = closure; diff --git a/src/mustach.h b/src/mustach.h index 8196679..716d7e3 100644 --- a/src/mustach.h +++ b/src/mustach.h @@ -71,7 +71,7 @@ struct mustach_itf { /** * 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 * @closure: the closure to pass to functions called * @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'. * - * @template: the template string to instanciate + * @template: the template string to instantiate * @itf: the interface to the functions that mustach calls * @closure: the closure to pass to functions called * @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'. * - * @template: the template string to instanciate + * @template: the template string to instantiate * @itf: the interface to the functions that mustach calls * @closure: the closure to pass to functions called * @result: the pointer receiving the result when 0 is returned diff --git a/src/output.c b/src/output.c index 264a970..c99eba2 100644 --- a/src/output.c +++ b/src/output.c @@ -82,7 +82,7 @@ enum count_status_t { }; /*! \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. */ static const char *color_tags[][NUM_OF_OUT_FORMS] = { [STATUS_OK] = { "", "" },