mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix unix socket support for ejabberd_http (thanks to Simon Lipp)(#3894)
This commit is contained in:
parent
9a3ba9d76f
commit
42e384beb7
@ -222,6 +222,8 @@ encode_base64(Data) ->
|
||||
|
||||
ip_to_list({local, _}) ->
|
||||
<<"unix">>;
|
||||
ip_to_list(local) ->
|
||||
<<"unix">>;
|
||||
ip_to_list({IP, _Port}) ->
|
||||
ip_to_list(IP);
|
||||
%% This function clause could use inet_parse too:
|
||||
|
Loading…
Reference in New Issue
Block a user