Wireshark-commits: [Wireshark-commits] master-1.12 d5d0f51: More handling of missing time stamps.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 23 May 2014 23:41:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d5d0f51909047f0b38a867792232e72cf1553d88
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

d5d0f51 by Guy Harris (guy@xxxxxxxxxxxx):

    More handling of missing time stamps.
    
    Make nstime_cmp() handle "unset" time stamps (they're equal to other
    "unset" time stamps, and less than all other time stamps), use it in
    reordercap, and "unset" the time stamp if it's absent.
    
    Also, nstime_cmp() does not modify its argument, so make it const.
    
    Change-Id: I016dab5fefaf4696e78cbd8c6dd3395808e54369
    Reviewed-on: https://code.wireshark.org/review/1769
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit d470a468a63a081688ddc2c6d125e4e2edafecfc)
    Reviewed-on: https://code.wireshark.org/review/1770
    

Actions performed:

    from  b056e18   Set the presence flags.
    adds  d5d0f51   More handling of missing time stamps.


Summary of changes:
 reordercap.c    |   31 +++++++++----------------------
 wsutil/nstime.c |   13 ++++++++++++-
 wsutil/nstime.h |    2 +-
 3 files changed, 22 insertions(+), 24 deletions(-)