]> The Tcpdump Group git mirrors - tcpdump/commit
Fix indentation to make it clearer what the arguments to a printf call
authorGuy Harris <[email protected]>
Sun, 28 Jun 2009 18:06:01 +0000 (11:06 -0700)
committerGuy Harris <[email protected]>
Sun, 28 Jun 2009 18:06:01 +0000 (11:06 -0700)
commit2ef070a02f972661a096b43bb5e4deb273fbf2d5
treeada28d78f239cd2380bfb978d657181155df34c3
parentab73c1d5d940eb701b4bf4d5bdda8108e6d76171
Fix indentation to make it clearer what the arguments to a printf call
are.

To extract a 32-bit big-endian quantity from a particular address, use
EXTRACT_32BITS(), don't do pointer casting - casting a "char *" or
"unsigned char *" to point to a multi-byte quantity doesn't guarantee
the pointer can be dereferenced and give you the right answer (SPARC
traps on unaligned pointer accesses, some other processor types might
also trap, or might ignore the low bits of the pointer).
print-rsvp.c