[Modify] Polish it
This commit is contained in:
		| @@ -831,9 +831,12 @@ namespace WebSocketSharp.Net | |||||||
|  |  | ||||||
|     private static string checkValue (string value) |     private static string checkValue (string value) | ||||||
|     { |     { | ||||||
|       if (value == null || value.Length == 0) |       if (value == null) | ||||||
|         return String.Empty; |         return String.Empty; | ||||||
|  |  | ||||||
|  |       if (value.Length == 0) | ||||||
|  |         return value; | ||||||
|  |  | ||||||
|       value = value.Trim (); |       value = value.Trim (); | ||||||
|  |  | ||||||
|       if (value.Length > 65535) { |       if (value.Length > 65535) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user