[Modify] Polish it

This commit is contained in:
sta 2016-06-03 16:27:00 +09:00
parent 26163779ea
commit f4d88963f8

View File

@ -193,7 +193,8 @@ namespace WebSocketSharp.Net
} }
private static X509Certificate2 getCertificate ( private static X509Certificate2 getCertificate (
int port, string certificateFolderPath, X509Certificate2 defaultCertificate) int port, string certificateFolderPath, X509Certificate2 defaultCertificate
)
{ {
if (certificateFolderPath == null || certificateFolderPath.Length == 0) if (certificateFolderPath == null || certificateFolderPath.Length == 0)
certificateFolderPath = _defaultCertFolderPath; certificateFolderPath = _defaultCertFolderPath;