summaryrefslogtreecommitdiffstats
path: root/lib/parse_ini.c
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2023-04-14 20:02:42 (GMT)
committerGitHub <noreply@github.com>2023-04-14 20:02:42 (GMT)
commitaff54257822a507121aaaee0b6b8cdfdef41b615 (patch)
treeabfb970cab5f7bfed94fe0b70ddfc37ed24cc567 /lib/parse_ini.c
parente44dcb80f1fdab2751cd460325391676e4f1a466 (diff)
parent0f3703e641f0f995a8abb40056cb5430b6c228c4 (diff)
downloadmonitoring-plugins-aff54257822a507121aaaee0b6b8cdfdef41b615.tar.gz
Merge pull request #1864 from waja/seperated_typo
Fix typos
Diffstat (limited to 'lib/parse_ini.c')
-rw-r--r--lib/parse_ini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse_ini.c b/lib/parse_ini.c
index 25abc89..547af43 100644
--- a/lib/parse_ini.c
+++ b/lib/parse_ini.c
@@ -78,7 +78,7 @@ static char *default_file_in_path(void);
78/* 78/*
79 * Parse_locator decomposes a string of the form 79 * Parse_locator decomposes a string of the form
80 * [stanza][@filename] 80 * [stanza][@filename]
81 * into its seperate parts. 81 * into its separate parts.
82 */ 82 */
83static void 83static void
84parse_locator(const char *locator, const char *def_stanza, np_ini_info *i) 84parse_locator(const char *locator, const char *def_stanza, np_ini_info *i)
@@ -169,7 +169,7 @@ read_defaults(FILE *f, const char *stanza, np_arg_list **opts)
169 if (isspace(c)) 169 if (isspace(c))
170 continue; 170 continue;
171 switch (c) { 171 switch (c) {
172 /* globble up coment lines */ 172 /* globble up comment lines */
173 case ';': 173 case ';':
174 case '#': 174 case '#':
175 GOBBLE_TO(f, c, '\n'); 175 GOBBLE_TO(f, c, '\n');