http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27908
User: guy
Date: 2009/03/31 12:10 AM
Log:
Get rid of val_to_strlen() - strlen() on the results of val_to_str()
suffices (and 100 is an odd choice of failure), and it shouldn't return
a guint8 in any case.
Don't use tvb_length() to determine how big a packet is - you want the
real size, not the possibly-shortened-by-a-snapshot-length size.
Don't make things guint8 if they're not guaranteed to be one byte long.
Use an ep_strbuf in another case.
Directory: /trunk/epan/dissectors/
Changes Path Action
+27 -41 packet-iec104.c Modified