wfreerdp-server: fix arg parsing

This commit is contained in:
C-o-r-E 2012-10-30 19:43:51 -04:00
parent a88dbb6b85
commit 32ebeb4470
1 changed files with 3 additions and 0 deletions

View File

@ -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");