Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-04-01 13:24:49 +0300
committerMickael Remond <mremond@process-one.net>2016-04-01 13:24:49 +0300
commit47266de6d7344588bfbd38c6de2aac8004087f4d (patch)
tree975d0cc39487f14e56460b97e462d67c07276f0b /src/mod_http_api.erl
parentf243c30847371718d440bff36fd5c84c1e806e51 (diff)
Do not use underscore variable
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r--src/mod_http_api.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 73a072059..c4fae2022 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -188,8 +188,8 @@ check_permissions2(#request{ip={IP, _Port}}, Call, _Policy) ->
true -> {allowed, Call, admin};
_ -> unauthorized_response()
end;
- _E ->
- ?DEBUG("Unauthorized: ~p", [_E]),
+ E ->
+ ?DEBUG("Unauthorized: ~p", [E]),
unauthorized_response()
end;
check_permissions2(_Request, _Call, _Policy) ->