1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 22:19:03 +00:00

Fix typo in argument number/stack index

This commit is contained in:
dmiller
2025-06-10 21:10:02 +00:00
parent 184bc4b73e
commit 0e966ad45f

View File

@@ -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);
}