mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid printing null timestamp if scan was skipped. Fixes nmap/nmap#1725
This commit is contained in:
parent
069af655eb
commit
4fcc04cce5
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ void printportoutput(Target *currenths, PortList *plist) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (o.verbose > 1 || o.debugging) {
|
||||
if ((o.verbose > 1 || o.debugging) && currenths->StartTime()) {
|
||||
time_t tm_secs, tm_sece;
|
||||
struct tm tm;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue