diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-12-17 22:49:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-12-17 22:49:33 +0000 |
commit | 020effa6d0932ad010ca3358bb7e2954cf381879 (patch) | |
tree | 67724bf667efb13f8e37b2938a6ef72552c5c5d3 /packet-ftp.c | |
parent | f883bb7443403333a8caedb86fad16475246b4b1 (diff) |
Clean up the code a bit:
don't initialize variables that are set elsewhere before they're
used;
don't call "tvb_get_ptr()" to set a variable if you're not going
to use that variable;
make the two character-processing loops have the same structure;
put the result of the XORing into an unsigned character, so it
can be handed to "isprint()" without running the risk of bogus
behavior if the 8th bit is set.
svn path=/trunk/; revision=6796
Diffstat (limited to 'packet-ftp.c')
0 files changed, 0 insertions, 0 deletions