mirror of https://github.com/FreeRDP/FreeRDP
wfreerdp-server: fix arg parsing
This commit is contained in:
parent
a88dbb6b85
commit
32ebeb4470
|
@ -88,7 +88,10 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
|
|
||||||
if (index == argc - 1)
|
if (index == argc - 1)
|
||||||
|
{
|
||||||
server->port = (DWORD) atoi(argv[index]);
|
server->port = (DWORD) atoi(argv[index]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Starting server\n");
|
printf("Starting server\n");
|
||||||
|
|
Loading…
Reference in New Issue