]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: lua: typo fix in comments
authorMark Lakes <mlakes@signalsciences.com>
Mon, 29 Jan 2018 22:38:40 +0000 (14:38 -0800)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Mar 2018 09:12:41 +0000 (11:12 +0200)
Some typo fixes in comments.

src/hlua.c

index 1541468f2b7ee6bf6e61de45bb018c0f0cf704c5..633841c6d7aecce3e5cf893e01b5eed1cfe64e0f 100644 (file)
@@ -297,7 +297,7 @@ __LJMP static inline void check_args(lua_State *L, int nb, char *fcn)
        WILL_LJMP(luaL_error(L, "'%s' needs %d arguments", fcn, nb));
 }
 
-/* This fucntion push an error string prefixed by the file name
+/* This function pushes an error string prefixed by the file name
  * and the line number where the error is encountered.
  */
 static int hlua_pusherror(lua_State *L, const char *fmt, ...)
@@ -1896,7 +1896,7 @@ __LJMP static int hlua_socket_receive(struct lua_State *L)
 }
 
 /* Write the Lua input string in the output buffer.
- * This fucntion returns a yield if no space are available.
+ * This function returns a yield if no space is available.
  */
 static int hlua_socket_write_yield(struct lua_State *L,int status, lua_KContext ctx)
 {