mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 10:05:46 +01:00
Removed Windows auto-spawn client code
This commit is contained in:
parent
76f03118c4
commit
a8239a4490
@ -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 New Issue
Block a user