From 3abbbebeddcf6447c1ff0348ae4d8b58552498c7 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 6 Feb 2018 18:46:17 +0000 Subject: [PATCH] Remove blank line at start. See #1128 --- nmap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nmap.cc b/nmap.cc index 30495084d..07ab9d5b8 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1570,7 +1570,7 @@ void apply_delayed_options() { // ISO 8601 date/time -- http://www.cl.cam.ac.uk/~mgk25/iso-time.html if (strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %H:%M %Z", local_time) <= 0) fatal("Unable to properly format time"); - log_write(LOG_STDOUT | LOG_SKID, "\nStarting %s %s ( %s ) at %s\n", NMAP_NAME, NMAP_VERSION, NMAP_URL, tbuf); + log_write(LOG_STDOUT | LOG_SKID, "Starting %s %s ( %s ) at %s\n", NMAP_NAME, NMAP_VERSION, NMAP_URL, tbuf); if (o.verbose) { if (local_time->tm_mon == 8 && local_time->tm_mday == 1) { log_write(LOG_STDOUT | LOG_SKID, "Happy %dth Birthday to Nmap, may it live to be %d!\n", local_time->tm_year - 97, local_time->tm_year + 3); @@ -2774,7 +2774,7 @@ static void display_nmap_version() { without.push_back("ipv6"); #endif - log_write(LOG_STDOUT, "\n%s version %s ( %s )\n", NMAP_NAME, NMAP_VERSION, NMAP_URL); + log_write(LOG_STDOUT, "%s version %s ( %s )\n", NMAP_NAME, NMAP_VERSION, NMAP_URL); log_write(LOG_STDOUT, "Platform: %s\n", NMAP_PLATFORM); log_write(LOG_STDOUT, "Compiled with:"); for (i = 0; i < with.size(); i++)