ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] master 246fe2c: Fixup: tvb_* -> tvb_capt

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Thu, 19 Jun 2014 17:52:03 +0200
I made the push before Evan's comment. My commit has already been
merged. If you think it is creating problems I suppose you can rebase
and get it out of the master.

On Thu, Jun 19, 2014 at 5:45 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
> On 06/18/14 10:14, Wireshark code review wrote:
>>
>> URL:
>> https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=246fe2ca4c67d8c98caa84e2f57694f6322e2f96
>> Submitter: Anders Broman (a.broman58@xxxxxxxxx)
>> Changed: branch: master
>> Repository: wireshark
>>
>> Commits:
>>
>> 246fe2c by Dario Lombardo (lomato@xxxxxxxxx):
>>
>>      Fixup: tvb_* -> tvb_captured
>
> [...]
>>
>>   epan/dissectors/packet-cast.c                  |    6 +-
>> ... 544 lines suppressed ...
>
>
> Hmm, as Evan said[1], I thought the reason these hadn't all been
> mass-converted was because they were supposed to be manually reviewed to see
> which of the new APIs were supposed to be used; this is especially true with
> the tvb_length() API because it has been a very common mistake to use
> tvb_length() when what was intended was tvb_reported_length().
>
> [1] https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe