Wireshark-commits: [Wireshark-commits] rev 31734: /trunk/epan/ /trunk/epan/dissectors/: packet-pnrp

Date: Fri, 29 Jan 2010 21:53:59 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=31734

User: wmeier
Date: 2010/01/29 01:53 PM

Log:
 A few updates:
 - Remove not needed #includes: stdio, stdlib, string & prefs;
 - Fix a few typos in text strings;
 - use 'tvb_reported_length() > 0' rather than '... != 0' in several cases;
    (tvb_reported_length can return -1);
 - if (!initialized) {...} not required in proto_reg_handoff..;
 - col_clear(...) before col_add_fstr(...) not req'd;
 - Add a comment about whether tvb_length() rather than tvb_reported_length
   should be used in one case.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +15 -21    packet-pnrp.c    Modified

Directory: /trunk/epan/
  Changes    Path              Action
  +1 -0      CMakeLists.txt    Modified