diff options
author | Ingela Anderton Andin <[email protected]> | 2015-10-01 16:48:02 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-10-01 16:54:49 +0200 |
commit | 0bc3430528ff489ba9ae1cc93a3d6e729f0c0c7a (patch) | |
tree | 876d651164d95604f96e5385099b5cd1d9305e46 /lib/inets/src/http_server | |
parent | 1523be48ab4071b158412f4b06fe9c8d6ba3e73c (diff) | |
download | otp-0bc3430528ff489ba9ae1cc93a3d6e729f0c0c7a.tar.gz otp-0bc3430528ff489ba9ae1cc93a3d6e729f0c0c7a.tar.bz2 otp-0bc3430528ff489ba9ae1cc93a3d6e729f0c0c7a.zip |
inets: Use ?MODULE_STRING instead of ?MODULE as argument should be a string
Diffstat (limited to 'lib/inets/src/http_server')
-rw-r--r-- | lib/inets/src/http_server/mod_auth_server.erl | 2 | ||||
-rw-r--r-- | lib/inets/src/http_server/mod_security_server.erl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/inets/src/http_server/mod_auth_server.erl b/lib/inets/src/http_server/mod_auth_server.erl index 3685c2e617..7d1e1a3431 100644 --- a/lib/inets/src/http_server/mod_auth_server.erl +++ b/lib/inets/src/http_server/mod_auth_server.erl @@ -316,7 +316,7 @@ lookup(Db, Key) -> make_name(Addr, Port, Profile) -> - httpd_util:make_name(?MODULE, Addr, Port, Profile). + httpd_util:make_name(?MODULE_STRING, Addr, Port, Profile). call(Name, Req) -> diff --git a/lib/inets/src/http_server/mod_security_server.erl b/lib/inets/src/http_server/mod_security_server.erl index 81561493a0..f9281b0fdc 100644 --- a/lib/inets/src/http_server/mod_security_server.erl +++ b/lib/inets/src/http_server/mod_security_server.erl @@ -523,10 +523,10 @@ unblock_user(Info, User, Dir, Addr, Port, Profile, ETS, DETS, CBModule) -> ets:match_delete(ETS, {blocked_user, {User, Addr, Port, Profile, Dir, '_'}}). make_name(Addr,Port, Profile) -> - httpd_util:make_name(?MODULE,Addr,Port, Profile). + httpd_util:make_name(?MODULE_STRING, Addr, Port, Profile). make_name(Addr,Port, Profile, Num) -> - httpd_util:make_name(?MODULE,Addr,Port, + httpd_util:make_name(?MODULE_STRING, Addr,Port, atom_to_list(Profile) ++ "__" ++ integer_to_list(Num)). auth_fail_event(Mod,Addr,Port,Dir,User,Passwd) -> |