From 7d0b4ad61ee1e150c76b9997971582066529b72a Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 17 Aug 2020 12:14:07 +0300 Subject: Misspell fix. nulify -> nullify --- src/cookies.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3