aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 14:49:51 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 14:49:51 -0400
commit98992ca580a3e921d57653161c7a27f2442e4dd3 (patch)
tree2d62abb0d0d0dec55b2af1c5ce3256126d871f24 /MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
parent5060cd3b824afab877052db1132ed07e6aefe9ac (diff)
simplify message parsing
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
index 9dcb679f4..583b8809d 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
@@ -65,9 +65,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
void socket_OnMessage(object sender, SocketHttpListener.MessageEventArgs e)
{
- if (OnReceive != null)
+ if (OnReceiveBytes != null)
{
OnReceiveBytes(e.RawData);
+ //OnReceive(e.Data);
}
}