aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-08-17 12:14:07 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-08-17 12:14:07 +0300
commit7d0b4ad61ee1e150c76b9997971582066529b72a (patch)
treeb3defcdae0c2428babd31fc4d9d517b5fbdafd29 /src
parent72dd15b1a9e55a77462ac1ae16e1dd28f304ee59 (diff)
downloadmagi-7d0b4ad61ee1e150c76b9997971582066529b72a.tar
magi-7d0b4ad61ee1e150c76b9997971582066529b72a.tar.xz
magi-7d0b4ad61ee1e150c76b9997971582066529b72a.zip
Misspell fix.
nulify -> nullify
Diffstat (limited to 'src')
-rw-r--r--src/cookies.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cookies.c b/src/cookies.c
index 35d876f..1f68152 100644
--- a/src/cookies.c
+++ b/src/cookies.c
@@ -21,7 +21,7 @@ struct automata {
typedef void *(*state)(struct automata *a, char c);
-static void nulify_cookie(struct automata *a)
+static void nullify_cookie(struct automata *a)
{
a->cookie.name = 0;
a->cookie.data = 0;
@@ -62,7 +62,7 @@ static void end_name(struct automata *a)
magi_cookies_add(a->list, &a->cookie);
a->list = &(*a->list)->next;
}
- nulify_cookie(a);
+ nullify_cookie(a);
a->cookie.name = a->buf;
} else {
free(a->buf);
@@ -181,7 +181,7 @@ static void parse_end(enum magi_error *e, struct automata *a, state s)
*e = magi_error_cookies;
} else if (end_data(a)) {
magi_cookies_add(a->list, &a->cookie);
- nulify_cookie(a);
+ nullify_cookie(a);
} else {
*e = magi_error_cookies;
}