Fixed command line pre filter, now returning 2 to skip argument.

This commit is contained in:
Armin Novak 2015-01-15 13:56:54 +01:00
parent 1d8d363b7a
commit 1d4403cbbe

View File

@ -204,11 +204,10 @@ int freerdp_client_old_command_line_pre_filter(void* context, int index, int arg
return -1;
}
if (settings)
{
freerdp_client_old_parse_hostname((char*) argv[index],
&settings->ServerHostname, &settings->ServerPort);
}
return 2;
}
else
{