mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix compilation on pre-R17
This commit is contained in:
parent
d97b4fd9ca
commit
7af7b7d3f0
@ -78,7 +78,7 @@ load_dir(Dir) ->
|
||||
load_file(Lang, File) ->
|
||||
case file:open(File, [read]) of
|
||||
{ok, Fd} ->
|
||||
epp:set_encoding(Fd, latin1),
|
||||
io:setopts(Fd, [{encoding,latin1}]),
|
||||
load_file_loop(Fd, 1, File, Lang),
|
||||
file:close(Fd);
|
||||
Error ->
|
||||
|
Loading…
Reference in New Issue
Block a user