[Modify] Replace it
This commit is contained in:
parent
07211d3ad6
commit
483372aa77
@ -937,8 +937,8 @@ namespace WebSocketSharp.Server
|
|||||||
/// </param>
|
/// </param>
|
||||||
public bool RemoveWebSocketService (string path)
|
public bool RemoveWebSocketService (string path)
|
||||||
{
|
{
|
||||||
var msg = path.CheckIfValidServicePath ();
|
string msg;
|
||||||
if (msg != null) {
|
if (!checkServicePath (path, out msg)) {
|
||||||
_logger.Error (msg);
|
_logger.Error (msg);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user