aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-05-16 18:32:35 +0000
committerGuy Harris <guy@alum.mit.edu>2011-05-16 18:32:35 +0000
commit88fe523c48e18d8e4d6b4a172e52eb2afb5ee6ea (patch)
tree512734f9153ef522f72b4fe4b16d934b06e7b152 /dumpcap.c
parente96cd69468566b3c19f0593bcb6fc65f3393099c (diff)
Fix some comments.
Get rid of null-pointer tests for t2i in the "not null" branch of an earlier test whether it's null, as those tests are redundant. Use a switch statement to check the subcommand for Trans2. If t2i->info_level is -1, it means we don't know the info level, for whatever reason (e.g., the request was cut short by the snapshot length before the info level). Report it as such. svn path=/trunk/; revision=37183
Diffstat (limited to 'dumpcap.c')
0 files changed, 0 insertions, 0 deletions