mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
merge soc07 r4918 - changing a couple more hardcoded function names
This commit is contained in:
2
tcpip.cc
2
tcpip.cc
@@ -184,7 +184,7 @@ const char *proto2ascii(u8 proto, bool uppercase) {
|
||||
}
|
||||
|
||||
static char *ll2shortascii(unsigned long long bytes, char *buf, int buflen) {
|
||||
if (buflen < 2 || !buf) fatal("Bogus parameter passed to ll2shortascii");
|
||||
if (buflen < 2 || !buf) fatal("Bogus parameter passed to %s", __func__);
|
||||
|
||||
if (bytes > 1000000) {
|
||||
snprintf(buf, buflen, "%.3fMB", bytes / 1000000.0);
|
||||
|
||||
Reference in New Issue
Block a user