mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix typo in argument number/stack index
This commit is contained in:
parent
184bc4b73e
commit
0e966ad45f
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ static int l_channel_request (lua_State *L) {
|
|||
request_context *ctx = (request_context *)safe_zalloc(sizeof(request_context));
|
||||
ctx->channel = (LIBSSH2_CHANNEL *) lua_touserdata(L, 2);
|
||||
ctx->request = luaL_checklstring(L, 3, &ctx->request_len);
|
||||
ctx->message = lua_tolstring(L, 3, &ctx->message_len);
|
||||
ctx->message = lua_tolstring(L, 4, &ctx->message_len);
|
||||
return channel_request(L, 0, (lua_KContext)ctx);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue