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:
Guy Harris 2016-09-16 03:01:49 -07:00
parent 689ff93474
commit 6d13aebde9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}