mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user