summaryrefslogtreecommitdiff
path: root/capinfos.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-05-09 16:51:29 -0700
committerGuy Harris <guy@alum.mit.edu>2016-05-09 23:52:33 +0000
commitea1ba62aecc7116ab5764d5f0f1c33d4333a3bdf (patch)
treeed59ee16c5c6dad24632bbe1b7ffb08c89c1e15a /capinfos.c
parent9a8a454b0a06ffac377663161e272609adc84c46 (diff)
downloadwireshark-ea1ba62aecc7116ab5764d5f0f1c33d4333a3bdf.tar.gz
Fix up the compare chain in nstime_delta().
The first case handles the two time stamps having the same seconds value, so, in the subsequent cases, they're guaranteed not to have the same seconds value; check for b->secs < a->secs, not for b->secs <= a->secs (the two tests will always get the same value, as b->secs != a->secs), to make it clearer what's being done. Change-Id: I6d3806237dae0ea12af92ea0344a31a2c5322b12 Reviewed-on: https://code.wireshark.org/review/15325 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capinfos.c')
0 files changed, 0 insertions, 0 deletions