Wireshark-commits: [Wireshark-commits] master e09b03e: Add get_ routines to get a guint32, and use

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 8 Sep 2016 18:27:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e09b03e9b131b3a43e4d8e43cc2c667bcb8d0a68
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e09b03e by Guy Harris (guy@xxxxxxxxxxxx):

    Add get_ routines to get a guint32, and use them.
    
    By analogy to get_natural_int() and get_positive_int(), add routines to
    get a guint32 and to get a non-zero guint32, doing all the necessary
    error checks, and use it.
    
    Change-Id: I65a9ac8a3d136886df3588806ae7af5bdc7b8cb6
    Reviewed-on: https://code.wireshark.org/review/17586
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  132632b   editcap: use ws_strtou/i functions.
    adds  e09b03e   Add get_ routines to get a guint32, and use them.


Summary of changes:
 editcap.c              |   41 +++++++++++------------------------------
 wsutil/clopts_common.c |   34 +++++++++++++++++++++++++++++++++-
 wsutil/clopts_common.h |    6 ++++++
 3 files changed, 50 insertions(+), 31 deletions(-)