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:
Diffstat (limited to 'tools/xmpp_codec.spec')
-rw-r--r--tools/xmpp_codec.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xmpp_codec.spec b/tools/xmpp_codec.spec
index 86cc03088..02e28a1f9 100644
--- a/tools/xmpp_codec.spec
+++ b/tools/xmpp_codec.spec
@@ -1986,8 +1986,8 @@
dec_tzo(Val) ->
[H1, M1] = str:tokens(Val, <<":">>),
- H = erlang:binary_to_integer(H1),
- M = erlang:binary_to_integer(M1),
+ H = jlib:binary_to_integer(H1),
+ M = jlib:binary_to_integer(M1),
if H >= -12, H =< 12, M >= 0, M < 60 ->
{H, M}
end.