mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
canonicalize capitalization
This commit is contained in:
parent
082ee50244
commit
57070b12a5
1 changed files with 2 additions and 2 deletions
|
|
@ -720,7 +720,7 @@ int l_nsock_check_buf(lua_State* l ){
|
|||
}
|
||||
}else{
|
||||
lua_pushboolean(l,false);
|
||||
lua_pushstring(l,"expected either a function or a string!");
|
||||
lua_pushstring(l,"Expected either a function or a string!");
|
||||
return NSOCK_WRAPPER_BUFFER_OK;
|
||||
//luaL_argerror(l,2,"expected either a function or a string!");
|
||||
}
|
||||
|
|
@ -736,7 +736,7 @@ int l_nsock_check_buf(lua_State* l ){
|
|||
lua_settop(l,0); /* clear the stack for returning */
|
||||
if(startpos>endpos){
|
||||
lua_pushboolean(l,false);
|
||||
lua_pushstring(l,"delimiter has negative size!");
|
||||
lua_pushstring(l,"Delimiter has negative size!");
|
||||
return NSOCK_WRAPPER_BUFFER_OK;
|
||||
}else if(startpos==endpos){
|
||||
/* if the delimter has a size of zero we keep it, since otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue