mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:28:14 +00:00
Removed Windows auto-spawn client code
This commit is contained in:
parent
76f03118c4
commit
a8239a4490
2 changed files with 0 additions and 44 deletions
|
@ -221,28 +221,6 @@ reset:
|
|||
/*
|
||||
* 3. Wait until a client connects
|
||||
*/
|
||||
#if defined(_WIN32_WCE)
|
||||
{
|
||||
SHELLEXECUTEINFO sei;
|
||||
|
||||
ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) );
|
||||
|
||||
sei.cbSize = sizeof( SHELLEXECUTEINFO );
|
||||
sei.fMask = 0;
|
||||
sei.hwnd = 0;
|
||||
sei.lpVerb = _T( "open" );
|
||||
sei.lpFile = _T( "https://localhost:4433/" );
|
||||
sei.lpParameters = NULL;
|
||||
sei.lpDirectory = NULL;
|
||||
sei.nShow = SW_SHOWNORMAL;
|
||||
|
||||
ShellExecuteEx( &sei );
|
||||
}
|
||||
#elif defined(_WIN32)
|
||||
ShellExecute( NULL, "open", "https://localhost:4433/",
|
||||
NULL, NULL, SW_SHOWNORMAL );
|
||||
#endif
|
||||
|
||||
client_fd = -1;
|
||||
|
||||
printf( " . Waiting for a remote connection ..." );
|
||||
|
|
|
@ -770,28 +770,6 @@ reset:
|
|||
/*
|
||||
* 3. Wait until a client connects
|
||||
*/
|
||||
#if defined(_WIN32_WCE)
|
||||
{
|
||||
SHELLEXECUTEINFO sei;
|
||||
|
||||
ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) );
|
||||
|
||||
sei.cbSize = sizeof( SHELLEXECUTEINFO );
|
||||
sei.fMask = 0;
|
||||
sei.hwnd = 0;
|
||||
sei.lpVerb = _T( "open" );
|
||||
sei.lpFile = _T( "https://localhost:4433/" );
|
||||
sei.lpParameters = NULL;
|
||||
sei.lpDirectory = NULL;
|
||||
sei.nShow = SW_SHOWNORMAL;
|
||||
|
||||
ShellExecuteEx( &sei );
|
||||
}
|
||||
#elif defined(_WIN32)
|
||||
ShellExecute( NULL, "open", "https://localhost:4433/",
|
||||
NULL, NULL, SW_SHOWNORMAL );
|
||||
#endif
|
||||
|
||||
client_fd = -1;
|
||||
|
||||
printf( " . Waiting for a remote connection ..." );
|
||||
|
|
Loading…
Reference in a new issue