aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}