Skip to content

Commit d44f8e0

Browse files
committed
Merge pull request #725 from ctrochalakis/typo-fixes
Typo fixes
2 parents 93321ac + a67957d commit d44f8e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ngx_http_lua_req_body.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ ngx_http_lua_ngx_req_append_body(lua_State *L)
642642
|| r->request_body->buf == NULL
643643
|| r->request_body->bufs == NULL)
644644
{
645-
return luaL_error(L, "request_body not initalized");
645+
return luaL_error(L, "request_body not initialized");
646646
}
647647

648648
rb = r->request_body;
@@ -705,7 +705,7 @@ ngx_http_lua_ngx_req_body_finish(lua_State *L)
705705
|| r->request_body->buf == NULL
706706
|| r->request_body->bufs == NULL)
707707
{
708-
return luaL_error(L, "request_body not initalized");
708+
return luaL_error(L, "request_body not initialized");
709709
}
710710

711711
rb = r->request_body;

src/ngx_http_lua_variable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ ngx_http_lua_var_set(lua_State *L)
185185

186186
val = ngx_palloc(r->pool, len);
187187
if (val == NULL) {
188-
return luaL_error(L, "memory allocation erorr");
188+
return luaL_error(L, "memory allocation error");
189189
}
190190

191191
ngx_memcpy(val, p, len);

0 commit comments

Comments
 (0)