Wireshark-commits: [Wireshark-commits] master-2.0 55563cb: Give a better error message for invalid

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 14 Apr 2017 19:37:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55563cb16e5499259b1eceb0acdc359a939eedf1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

55563cb by Guy Harris (guy@xxxxxxxxxxxx):

    Give a better error message for invalid characters in preference module names.
    
    And make the message for an invalid character in a preference name more
    like it, by putting the offending name in quotes.
    
    Change-Id: I40db8b87eae5e46a1d49213a9a45861b6b3565af
    Reviewed-on: https://code.wireshark.org/review/21092
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit c398858205724434bfcbec0ffed1f4223c2c85d1)
    Reviewed-on: https://code.wireshark.org/review/21094
    

Actions performed:

    from  3e274e2   2.0.12 → 2.0.13.
    adds  55563cb   Give a better error message for invalid characters in preference module names.


Summary of changes:
 epan/prefs.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)