1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Replace all tab characters at the beginnings of lines with 8 spaces.

Mixed indentation annoyed my vim.
This commit is contained in:
d33tah
2014-01-05 19:14:26 +00:00
parent 3570ca78d8
commit 4816358475
40 changed files with 1055 additions and 1055 deletions

View File

@@ -203,8 +203,8 @@ void pfatal(const char *fmt, ...) {
#ifdef WIN32
error_number = GetLastError();
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,
NULL, error_number, MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &strerror_s, 0, NULL);
NULL, error_number, MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &strerror_s, 0, NULL);
#else
error_number = errno;
strerror_s = strerror(error_number);
@@ -218,7 +218,7 @@ void pfatal(const char *fmt, ...) {
va_end(ap);
log_write(LOG_NORMAL|LOG_STDERR, "%s: %s (%d)\n",
errbuf, strerror_s, error_number);
errbuf, strerror_s, error_number);
if (xml_tag_open())
xml_close_start_tag();
@@ -265,8 +265,8 @@ void gh_perror(const char *fmt, ...) {
#ifdef WIN32
error_number = GetLastError();
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,
NULL, error_number, MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &strerror_s, 0, NULL);
NULL, error_number, MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &strerror_s, 0, NULL);
#else
error_number = errno;
strerror_s = strerror(error_number);