forked from osmocom/wireshark
ws_strou16() now takes three arguments.
Change-Id: I94a3a8707de724b1b4c2fafaa4c96d2a52b418c6 Reviewed-on: https://code.wireshark.org/review/17732 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
689ff93474
commit
6d13aebde9
|
@ -331,7 +331,7 @@ int main(int argc, char *argv[])
|
|||
goto end;
|
||||
|
||||
case OPT_PORT:
|
||||
if (!ws_strtou16(optarg, &port)) {
|
||||
if (!ws_strtou16(optarg, NULL, &port)) {
|
||||
g_warning("Invalid port: %s", optarg);
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue