1
0
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:
david
2012-10-22 05:17:00 +00:00
parent 5c8272b3c9
commit bfaed0ce34

View File

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