--- src/hlua.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/hlua.c b/src/hlua.c index 285d25589..3b4fc3b54 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -1810,19 +1810,19 @@ connection_empty: return 0; } -/* This Lus function gets two parameters. The first one can be string - * or a number. If the string is "*l", the user require one line. If - * the string is "*a", the user require all the content of the stream. +/* This Lua function gets two parameters. The first one can be string + * or a number. If the string is "*l", the user requires one line. If + * the string is "*a", the user requires all the contents of the stream. * If the value is a number, the user require a number of bytes equal * to the value. The default value is "*l" (a line). * - * This paraeter with a variable type is converted in integer. This + * This parameter with a variable type is converted in integer. This * integer takes this values: * -1 : read a line * -2 : read all the stream - * >0 : amount if bytes. + * >0 : amount of bytes. * - * The second parameter is optinal. It contains a string that must be + * The second parameter is optional. It contains a string that must be * concatenated with the read data. */ __LJMP static int hlua_socket_receive(struct lua_State *L) @@ -1874,7 +1874,7 @@ __LJMP static int hlua_socket_receive(struct lua_State *L) if (lua_gettop(L) != 2) lua_replace(L, 2); - /* init bufffer, and fiil it wih prefix. */ + /* init buffer, and fill it with prefix. */ luaL_buffinit(L, &socket->b); /* Check prefix. */ -- 2.15.1