aboutsummaryrefslogtreecommitdiff
path: root/tools/xmpp_codec.spec
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-02-28 15:32:05 +0400
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-02-28 15:36:34 +0400
commit4a02893dac5c00b77071edc3df5d0057edb3c562 (patch)
treed6d46d4ca2c395b9e95cc623fc7a6cec1e34e73b /tools/xmpp_codec.spec
parentFix some type specs and errors (diff)
Regenerate XMPP codec
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.