mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Remove the stripping of newlines from the beginning of script output.
This commit is contained in:
parent
9d57567b62
commit
fe55182068
1 changed files with 0 additions and 4 deletions
|
|
@ -427,10 +427,6 @@ static char *formatScriptOutput(ScriptResult sr) {
|
|||
c_output = sr.get_output().c_str();
|
||||
p = c_output;
|
||||
|
||||
/* Skip initial newlines. */
|
||||
while (*p == '\n')
|
||||
p++;
|
||||
|
||||
while (*p != '\0') {
|
||||
q = strchr(p, '\n');
|
||||
if (q == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue