Wireshark-commits: [Wireshark-commits] rev 29731: /trunk/epan/ /trunk/epan/: proto.c proto.h

Date: Sun, 06 Sep 2009 07:25:10 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29731

User: krj
Date: 2009/09/06 12:25 AM

Log:
 Introduce TRY_TO_FAKE_THIS_REPR which is an optimization similar to the existing TRY_TO_FAKE_THIS_ITEM. The purpose of TRY_TO_FAKE_THIS_REPR is to avoid generating the string representation for the protocol item. There is no point in doing this if the protocol tree isn't visible. In this case the result will be discarded any way.

Directory: /trunk/epan/
  Changes    Path          Action
  +19 -19    proto.c       Modified
  +16 -16    proto.h       Modified