Wireshark-commits: [Wireshark-commits] master 1ae0c4a: Fix -z statistics command line parsing

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 27 Dec 2014 16:00:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1ae0c4a643ba41eddfe875d9dde46a3811eda5bc
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1ae0c4a by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Fix -z statistics command line parsing
    
    The string comparison must be done against the length of the registered command, not against the length or the string given as an argument.
    Otherwise optional parameters are taken into account.
    
    Change-Id: Iec4032fc10b00e606770533c5a567d7b49663593
    Reviewed-on: https://code.wireshark.org/review/6075
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  0ea310d   SRVLOC: fix some fields registration (regression introduced in ga1c6341)
    adds  1ae0c4a   Fix -z statistics command line parsing


Summary of changes:
 epan/stat_tap_ui.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)