diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-01 22:35:28 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-01 22:35:28 +0100 |
commit | d7b497cac78b6e22a66a6bae9bdec60a8044f67a (patch) | |
tree | 184113d29b783653347947b312b3b949a4c73d98 /smbutil.c | |
parent | 505cd1fe15916e21abd6f2aa43a07bba649689cf (diff) | |
download | tcpdump-d7b497cac78b6e22a66a6bae9bdec60a8044f67a.tar.gz |
Use more the EXTRACT_U_1() macro (40/n)
In some macros and functions calls.
p[n], unsigned char *p.
Diffstat (limited to 'smbutil.c')
-rw-r--r-- | smbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -282,7 +282,7 @@ smb_print_data(netdissect_options *ndo, const unsigned char *buf, int len) ND_PRINT((ndo, "[%03X] ", i)); for (i = 0; i < len; /*nothing*/) { ND_TCHECK(buf[i]); - ND_PRINT((ndo, "%02X ", buf[i] & 0xff)); + ND_PRINT((ndo, "%02X ", EXTRACT_U_1(buf + i) & 0xff)); i++; if (i%8 == 0) ND_PRINT((ndo, " ")); |