diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index 66f1c36e..f68914dc 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -594,14 +594,14 @@ namespace WebSocketSharp.Server /// the send is complete. A passed to this delegate is true /// if the send is complete successfully. /// - protected void SendAsync (FileInfo file, Action completed) + protected void SendAsync (FileInfo fileInfo, Action completed) { if (_websocket == null) { var msg = "The current state of the connection is not Open."; throw new InvalidOperationException (msg); } - _websocket.SendAsync (file, completed); + _websocket.SendAsync (fileInfo, completed); } ///