mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
merge soc07 r4918 - changing a couple more hardcoded function names
This commit is contained in:
parent
f2e0ddb40a
commit
0c123a1056
2 changed files with 2 additions and 2 deletions
|
|
@ -3415,7 +3415,7 @@ static void processData(UltraScanInfo *USI) {
|
|||
long tv_diff;
|
||||
gettimeofday(&USI->now, NULL);
|
||||
tv_diff = TIMEVAL_MSEC_SUBTRACT(USI->now, tv_start);
|
||||
if (tv_diff > 30) printf("processData took %lims\n", tv_diff);
|
||||
if (tv_diff > 30) printf("%s took %lims\n", __func__, tv_diff);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue