mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
Put </programlisting> in the first column in an example in scripting.xml to
avoid a trailing blank line.
This commit is contained in:
@@ -1449,7 +1449,7 @@ socket:close()
|
||||
|
||||
<example id="nse-mutex-handling">
|
||||
<title>Mutex manipulation</title>
|
||||
<programlisting>
|
||||
<programlisting>
|
||||
local mutex = nmap.mutex("My Script's Unique ID");
|
||||
function action(host, port)
|
||||
mutex "lock";
|
||||
@@ -1457,7 +1457,7 @@ function action(host, port)
|
||||
mutex "done";
|
||||
return script_output;
|
||||
end
|
||||
</programlisting>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user