Wireshark-commits: [Wireshark-commits] rev 32901: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Wed, 19 May 2010 20:42:58 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32901

User: morriss
Date: 2010/05/19 01:42 PM

Log:
 Followup to rev 23668: ansi_a_ios501_elem_1_strings[] and
 ansi_a_ios401_elem_1_strings[] are different lengths so use 'ansi_a_elem_1_max'
 to know how far we can look into the array (instead of ANSI_A_E_NONE).
 Since that variable points to the end of the array--a NULL entry--and since we
 don't want to pass a NULL string pointer to proto_tree_add*(), ensure that
 we only look at the last valid entry.
 
 Also remove check_col() calls and reindent a bit.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +90 -146   packet-ansi_a.c    Modified