diff --git a/nselib/msrpc.lua b/nselib/msrpc.lua index 5cbd89d06..5b7de3b7e 100644 --- a/nselib/msrpc.lua +++ b/nselib/msrpc.lua @@ -1215,8 +1215,6 @@ end --@param domain_handle The domain_handle, returned by samr_opendomain --@param level The level, which determines which type of information to query for. See the @return section -- for details. ---@param result [optional] A 'result' to add the entries to. This lets us call this function multiple times, --- for multiple levels, and keep the results in one place. --@return (status, result) If status is false, result is an error message. Otherwise, result is a table of values, -- and the values that are returned are dependent on the 'level' settings: -- Level 1: diff --git a/nselib/msrpctypes.lua b/nselib/msrpctypes.lua index 527d9da85..ddc4b8d34 100644 --- a/nselib/msrpctypes.lua +++ b/nselib/msrpctypes.lua @@ -2506,7 +2506,7 @@ end ---Marshall a winreg_StringBuffer pointer. Same as marshall_winreg_StringBuf, except -- the string can be nil. -- ---@param table The string to marshall. Can be nil. +--@param table The table representing the String. --@param max_length [optional] The maximum size of the buffer, in characters. Defaults to the length of the string, including the null. --@return A string representing the marshalled data. function marshall_winreg_StringBuf_ptr(table, max_length)