diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 22:13:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 22:13:34 +0000 |
commit | 5c2a86ebc83ed4d4f517203a227c3d2638661de7 (patch) | |
tree | 925c24235207969d1fb7e00c68b433fbaf8427b3 | |
parent | 46e9f63fb2ee185cbdb45a03517dd20d5dc48ce1 (diff) |
Update a comment.
svn path=/trunk/; revision=46795
-rw-r--r-- | epan/dissectors/packet-gsm_a_bssmap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index 8c6e6df0d6..7c046cb67c 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -6937,8 +6937,9 @@ dissect_bssmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* * create the protocol tree */ - /* These two conditions are actually the same, but checking idx makes it - * obvious we won' t use a potentially negative idx in the else case. + /* The first two conditions are actually the same, i.e. if str != NULL, + * idx >= 0, but checking idx makes it obvious we won' t use a potentially + * negative idx in the else case. */ if (str == NULL || idx < 0 || idx >= NUM_GSM_BSSMAP_MSG) { |