diff options
-rw-r--r-- | src/mod_http_upload.erl | 2 | ||||
-rw-r--r-- | src/mod_http_upload_quota.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index 214badca..b01ca9d2 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -375,7 +375,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, host = Host}) -> ?DEBUG("Stopping HTTP upload process for ~s: ~p", [ServerHost, Reason]), 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]), |