From ef02053a9ddf057a1c76da3409f2218c1d778b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Thu, 17 Mar 2016 18:41:24 +0100 Subject: [PATCH] Fix issue #1015 --- src/ejabberd_c2s.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index a5802a5b3..d58c1e1d2 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -1914,7 +1914,7 @@ new_id() -> randoms:get_string(). new_uniq_id() -> iolist_to_binary([randoms:get_string(), - jlib:integer_to_binary(p1_time_compat:unique_integer(positive))]). + jlib:integer_to_binary(p1_time_compat:unique_integer([positive]))]). is_auth_packet(El) -> case jlib:iq_query_info(El) of