diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-16 08:33:40 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-16 08:33:40 +0000 |
commit | 52b29c1e0d8421313b1ae1e9f8f5ae5eb26df00f (patch) | |
tree | 16d0e461562ff58b56a85d16234f408773488e48 /packet-range.c | |
parent | b06b0c751d5bfe7ad09b93b6a975f8cd59475c42 (diff) |
Make the nranges member of a range_t be the number of ranges, not the
number of ranges - 1, and update loops that iterate over all the ranges
appropriately.
Make "range_convert_str()" return a success/failure indication, and
check it. Rewrite it to do more checks, and not to blithely ignore
unknown characters.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12313 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-range.c')
-rw-r--r-- | packet-range.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packet-range.c b/packet-range.c index 10a2529d72..0171b5115a 100644 --- a/packet-range.c +++ b/packet-range.c @@ -246,6 +246,7 @@ range_process_e packet_range_process_packet(packet_range_t *range, frame_data *f void packet_range_convert_str(packet_range_t *range, const gchar *es) { + /* XXX - check for errors */ range_convert_str(&range->user_range, es, cfile.count); /* calculate new user specified packet range counts */ |