25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Update 'rsm_in' record element types

The jlib:rsm_decode/1 function sets the 'max' and/or 'index' elements of
the returned 'rsm_in' record to 'error' if the parsed strings cannot be
converted to integer values.
This commit is contained in:
Holger Weiss 2015-03-18 00:28:10 +01:00
parent aa1250a3dd
commit 1dd23ecb41

View File

@ -475,10 +475,10 @@
-type(iq() :: iq_request() | iq_reply()).
-record(rsm_in, {max :: integer(),
-record(rsm_in, {max :: integer() | error,
direction :: before | aft,
id :: binary(),
index :: integer()}).
index :: integer() | error}).
-record(rsm_out, {count :: integer(),
index :: integer(),