Fix unix socket support for ejabberd_http (thanks to Simon Lipp)(#3894)

This commit is contained in:
Badlop 2022-09-06 13:22:27 +02:00
parent 9a3ba9d76f
commit 42e384beb7
1 changed files with 2 additions and 0 deletions

View File

@ -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: