From be1adc82f18163dcf0b8d44788abb083e9fade2c Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 5 May 2016 16:15:24 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/EndPointManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/EndPointManager.cs b/websocket-sharp/Net/EndPointManager.cs index bc6a2787..d1c1f63e 100644 --- a/websocket-sharp/Net/EndPointManager.cs +++ b/websocket-sharp/Net/EndPointManager.cs @@ -85,10 +85,10 @@ namespace WebSocketSharp.Net var path = pref.Path; if (path.IndexOf ('%') != -1) - throw new HttpListenerException (87, "Invalid path."); + throw new HttpListenerException (87, "Includes an invalid path."); if (path.IndexOf ("//", StringComparison.Ordinal) != -1) - throw new HttpListenerException (87, "Invalid path."); + throw new HttpListenerException (87, "Includes an invalid path."); // Listens on all the interfaces if host name cannot be parsed by IPAddress. getEndPointListener (pref, listener).AddPrefix (pref, listener);