summaryrefslogtreecommitdiff
path: root/src/mod_http_upload_quota.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2016-04-19 09:15:09 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2016-04-19 09:15:09 +0200
commit382c6ce1fb9f6179aedfb9ef3db129c3c24a3abd (patch)
tree759526bc30720d6d1daabaa088c10361e1b4b237 /src/mod_http_upload_quota.erl
parentUse erlang 18.3 in travis tests (diff)
Specify type of second terminate/2 parameter
Diffstat (limited to 'src/mod_http_upload_quota.erl')
-rw-r--r--src/mod_http_upload_quota.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_http_upload_quota.erl b/src/mod_http_upload_quota.erl
index a5ae0c3c..4f9d9521 100644
--- a/src/mod_http_upload_quota.erl
+++ b/src/mod_http_upload_quota.erl
@@ -239,7 +239,7 @@ handle_info(Info, State) ->
?ERROR_MSG("Got unexpected info: ~p", [Info]),
{noreply, State}.
--spec terminate(normal | shutdown | {shutdown, _} | _, _) -> ok.
+-spec terminate(normal | shutdown | {shutdown, _} | _, state()) -> ok.
terminate(Reason, #state{server_host = ServerHost, timers = Timers}) ->
?DEBUG("Stopping upload quota process for ~s: ~p", [ServerHost, Reason]),