aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_http_static.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_static.erl b/src/cowboy_http_static.erl
index fcac4f8..8b9f558 100644
--- a/src/cowboy_http_static.erl
+++ b/src/cowboy_http_static.erl
@@ -319,7 +319,7 @@ sfallback(Transport, Socket, File, Sent) ->
case Transport:send(Socket, Bin) of
ok -> sfallback(Transport, Socket, File, Sent + byte_size(Bin));
{error, closed} -> {sent, Sent}
- end
+ end
end.