forked from osmocom/wireshark
Add a comment.
Change-Id: Ia5bedaf8718985b325ed244a471cdc4e27f2928f Reviewed-on: https://code.wireshark.org/review/17599 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
4312ec8996
commit
381be238ad
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue