ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 37202: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 17 May 2011 17:40:32 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37202

User: morriss
Date: 2011/05/17 10:40 AM

Log:
 As suggested by Chris: use val_to_str_const() instead of match_strval() plus a
 NULL-return check.
 
 Use val_to_str_const instead of val_to_str() in a couple places where the string
 is constant.
 
 Use val_to_str() instead of blindly passing the return value from match_strval()
 into a format routine (to ensure a non-NULL string pointer).

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +89 -312   packet-ncp2222.inc    Modified