1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 21:19:01 +00:00

Comment typos(?).

It's sad to see "ugly hat" go.
This commit is contained in:
david
2012-06-07 05:15:31 +00:00
parent 833ced6048
commit dc485a4bff

View File

@@ -746,7 +746,7 @@ void printportoutput(Target *currenths, PortList *plist) {
// Well, a reasonably clean way would be backslash escapes // Well, a reasonably clean way would be backslash escapes
// such as \/ and \\ . // But that makes it harder to pick // such as \/ and \\ . // But that makes it harder to pick
// out fields with awk, cut, and such. So I'm gonna use the // out fields with awk, cut, and such. So I'm gonna use the
// ugly hat (fitting to grepable output) or replacing the '/' // ugly hack (fitting to grepable output) of replacing the '/'
// character with '|' in the version field. // character with '|' in the version field.
Strncpy(grepvers, fullversion, sizeof(grepvers) / sizeof(*grepvers)); Strncpy(grepvers, fullversion, sizeof(grepvers) / sizeof(*grepvers));
p = grepvers; p = grepvers;