Permalink
Browse files

Fix compile warning

  • Loading branch information...
1 parent fdfee2e commit 556a7a820fe268b72dc1077b0ea03df6fd4c6240 @mmzeeman mmzeeman committed with Oct 31, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/elli_tcp.erl
View
@@ -66,9 +66,7 @@ setopts({ssl, Socket}, Opts) ->
sendfile(Fd, {plain, Socket}, Offset, Length, Opts) ->
- file:sendfile(Fd, Socket, Offset, Length, []);
-sendfile(_Fd, {ssl, Socket}, _Offset, _Length, _Opts) ->
+ file:sendfile(Fd, Socket, Offset, Length, Opts);
+sendfile(_Fd, {ssl, _}, _Offset, _Length, _Opts) ->
throw(ssl_sendfile_not_supported).
-
-

0 comments on commit 556a7a8

Please sign in to comment.