[Modify] Polish it

This commit is contained in:
sta 2018-08-06 20:54:36 +09:00
parent e200bc7441
commit 2486492ae7

View File

@ -835,13 +835,13 @@ namespace WebSocketSharp.Server
var both = byUser && withPort; var both = byUser && withPort;
if (both) { if (both) {
_log.Warn ("A server certificate associated with the port is used."); _log.Warn ("The server certificate associated with the port is used.");
return true; return true;
} }
var either = byUser || withPort; var either = byUser || withPort;
if (!either) { if (!either) {
message = "There is no server certificate for secure connections."; message = "There is no server certificate for secure connection.";
return false; return false;
} }