diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-09-09 00:50:08 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-09-09 07:50:48 +0000 |
commit | 381be238ad93c992f19020c9d9ceb16a98634317 (patch) | |
tree | 2c686a6e662b89d22951e4e9048d9bcc4098bf4d /wiretap/catapult_dct2000.c | |
parent | 4312ec8996bce797d961192e4f0742a572cbe8f3 (diff) | |
download | wireshark-381be238ad93c992f19020c9d9ceb16a98634317.tar.gz wireshark-381be238ad93c992f19020c9d9ceb16a98634317.tar.bz2 wireshark-381be238ad93c992f19020c9d9ceb16a98634317.zip |
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/catapult_dct2000.c')
-rw-r--r-- | wiretap/catapult_dct2000.c | 3 |
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; } |