diff options
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r-- | src/ranch_transport.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl index e2a0fd4..08263d3 100644 --- a/src/ranch_transport.erl +++ b/src/ranch_transport.erl @@ -116,7 +116,7 @@ chunk_size(Opts) -> -spec sendfile_loop(module(), socket(), file:fd(), non_neg_integer(), non_neg_integer(), pos_integer()) - -> {ok, non_neg_integer()} | {error, term()}. + -> {ok, non_neg_integer()} | {error, any()}. sendfile_loop(_Transport, _Socket, _RawFile, Sent, Sent, _ChunkSize) when Sent =/= 0 -> %% All requested data has been read and sent, return number of bytes sent. |