[Modify] Polish it
This commit is contained in:
		@@ -649,17 +649,18 @@ namespace WebSocketSharp
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
          if (acceptHandshake ()) {
 | 
					          if (!acceptHandshake ())
 | 
				
			||||||
            _readyState = WebSocketState.Open;
 | 
					            return false;
 | 
				
			||||||
            return true;
 | 
					
 | 
				
			||||||
          }
 | 
					          _readyState = WebSocketState.Open;
 | 
				
			||||||
 | 
					          return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (Exception ex) {
 | 
					        catch (Exception ex) {
 | 
				
			||||||
          _logger.Fatal (ex.ToString ());
 | 
					          _logger.Fatal (ex.ToString ());
 | 
				
			||||||
          fatal ("An exception has occurred while accepting.", ex);
 | 
					          fatal ("An exception has occurred while accepting.", ex);
 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return false;
 | 
					          return false;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user