1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00

new (at least rejiggered) output system, --log-errors option, ready for 4.02Alpha1, I think

This commit is contained in:
fyodor
2006-03-04 04:17:32 +00:00
parent 848ad2a96a
commit 705123dd29
11 changed files with 260 additions and 134 deletions

View File

@@ -148,14 +148,3 @@ void pfatal(char *err, ...) {
fflush(stderr);
exit(1);
}
void gh_perror(char *err, ...) {
va_list ap;va_start(ap, err);
fflush(stdout);
vfprintf(stderr, err, ap);
va_end(ap);
perror(" ");
fflush(stderr);
return;
}