Wireshark-commits: [Wireshark-commits] master 859e1ee: [dcm] set a reasonable return value if we ne
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 9 Jan 2016 17:04:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=859e1ee1d5926b4ab878ac5dceaba14e303b58de
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

859e1ee by Martin Kaiser (wireshark@xxxxxxxxx):

    [dcm] set a reasonable return value if we need more data
    
    in other similar cases, we return tvb_captured_length(tvb)
    do this here as well instead of returning TRUE where we should return a number
    
    Change-Id: Ifafdb7011256100d127033c0a43d100525f6a42b
    Reviewed-on: https://code.wireshark.org/review/13084
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  cbbb574   [quake] remove a bunch of unnecessary if (tree) checks
    adds  859e1ee   [dcm] set a reasonable return value if we need more data


Summary of changes:
 epan/dissectors/packet-dcm.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)