aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-09-09 00:50:08 -0700
committerGuy Harris <guy@alum.mit.edu>2016-09-09 07:50:48 +0000
commit381be238ad93c992f19020c9d9ceb16a98634317 (patch)
tree2c686a6e662b89d22951e4e9048d9bcc4098bf4d /wiretap
parent4312ec8996bce797d961192e4f0742a572cbe8f3 (diff)
Add a comment.
Change-Id: Ia5bedaf8718985b325ed244a471cdc4e27f2928f Reviewed-on: https://code.wireshark.org/review/17599 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/catapult_dct2000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c
index 8e422842fd..4264f2ae72 100644
--- a/wiretap/catapult_dct2000.c
+++ b/wiretap/catapult_dct2000.c
@@ -925,6 +925,9 @@ parse_line(gchar *linebuff, gint line_length,
*context_portp = port_number_string[0] - '0';
}
else {
+ /* Everything in here is a digit, so we don't need to check
+ whether what follows the number is anything other than
+ a '\0'. */
if (!ws_strtou8(port_number_string, NULL, context_portp)) {
return FALSE;
}