aboutsummaryrefslogtreecommitdiffstats
path: root/packet-range.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-10-16 08:33:40 +0000
committerGuy Harris <guy@alum.mit.edu>2004-10-16 08:33:40 +0000
commitb2543fed6c24a62b5029ca3027779a87e90c17a7 (patch)
tree16d0e461562ff58b56a85d16234f408773488e48 /packet-range.c
parent64394fdef2e0e732003bbb09cba1137f68156b92 (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. svn path=/trunk/; revision=12313
Diffstat (limited to 'packet-range.c')
-rw-r--r--packet-range.c1
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 */