summaryrefslogtreecommitdiff
path: root/smbutil.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-08-24 21:53:58 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-08-24 21:53:58 +0100
commit5c2027db88176ff4073d552a887429a3c9d3acee (patch)
tree28c3d2d57d760fb007924de11d96161b82272931 /smbutil.c
parentd5bb7824e1092793a2961f0ed6f984f193ac6cbb (diff)
downloadtcpdump-5c2027db88176ff4073d552a887429a3c9d3acee.tar.gz
Rename min() and max() to ND_MIN() and ND_MAX(). [skip ci]
As discussed on tcpdump-workers, it was a place for a potential clash with non-macros.
Diffstat (limited to 'smbutil.c')
-rw-r--r--smbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smbutil.c b/smbutil.c
index a8203bf6..23c59ab2 100644
--- a/smbutil.c
+++ b/smbutil.c
@@ -320,7 +320,7 @@ smb_data_print(netdissect_options *ndo, const u_char *buf, u_int len)
while (n--)
ND_PRINT(" ");
- n = min(8, i % 16);
+ n = ND_MIN(8, i % 16);
print_asc(ndo, buf + i - (i % 16), n);
ND_PRINT(" ");
n = (i % 16) - n;