diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-12 20:10:05 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-13 04:11:08 +0000 |
commit | b7dc77312720bb1bfa3698f3b48e21c991c49632 (patch) | |
tree | 0e77423d22b9eab5da5e008d7e35b01e42bc67e8 /docbook/wsug_graphics/ws-time-reference.png | |
parent | 140aad08e081489b5cdb715cb5bca01db856fded (diff) |
Assorted cleanups.
Fix indentation.
Just directly assign values to elements in the packet buffer; no need to
convert them to numbers and note the value as a comment.
Give more detail in the comment for null-terminating buffers. Terminate
packet_buf[] once we're finished reading into it, to make it a bit
clearer what's being done.
Make the magic number buffer 513 bytes, so we have 512 bytes plus a
terminating null.
Change-Id: Ie182d93393cc55835b24075e908393c386c85c24
Reviewed-on: https://code.wireshark.org/review/13250
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'docbook/wsug_graphics/ws-time-reference.png')
0 files changed, 0 insertions, 0 deletions