mirror of
https://github.com/nmap/nmap.git
synced 2026-02-01 19:19:09 +00:00
Use the name "nspp" for a variable of type "pointer to nsock_pool."
This commit is contained in:
10
nse_nsock.cc
10
nse_nsock.cc
@@ -93,11 +93,11 @@ static nsock_pool new_pool (lua_State *L)
|
||||
|
||||
static nsock_pool get_pool (lua_State *L)
|
||||
{
|
||||
nsock_pool *nsp;
|
||||
nsp = (nsock_pool *) lua_touserdata(L, NSOCK_POOL);
|
||||
assert(nsp != NULL);
|
||||
assert(*nsp != NULL);
|
||||
return *nsp;
|
||||
nsock_pool *nspp;
|
||||
nspp = (nsock_pool *) lua_touserdata(L, NSOCK_POOL);
|
||||
assert(nspp != NULL);
|
||||
assert(*nspp != NULL);
|
||||
return *nspp;
|
||||
}
|
||||
|
||||
static std::string hexify (const unsigned char *str, size_t len)
|
||||
|
||||
Reference in New Issue
Block a user