mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 21:19:01 +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">
|
<example id="nse-mutex-handling">
|
||||||
<title>Mutex manipulation</title>
|
<title>Mutex manipulation</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
local mutex = nmap.mutex("My Script's Unique ID");
|
local mutex = nmap.mutex("My Script's Unique ID");
|
||||||
function action(host, port)
|
function action(host, port)
|
||||||
mutex "lock";
|
mutex "lock";
|
||||||
@@ -1457,7 +1457,7 @@ function action(host, port)
|
|||||||
mutex "done";
|
mutex "done";
|
||||||
return script_output;
|
return script_output;
|
||||||
end
|
end
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user