mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +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:
parent
aa1250a3dd
commit
1dd23ecb41
@ -475,10 +475,10 @@
|
|||||||
|
|
||||||
-type(iq() :: iq_request() | iq_reply()).
|
-type(iq() :: iq_request() | iq_reply()).
|
||||||
|
|
||||||
-record(rsm_in, {max :: integer(),
|
-record(rsm_in, {max :: integer() | error,
|
||||||
direction :: before | aft,
|
direction :: before | aft,
|
||||||
id :: binary(),
|
id :: binary(),
|
||||||
index :: integer()}).
|
index :: integer() | error}).
|
||||||
|
|
||||||
-record(rsm_out, {count :: integer(),
|
-record(rsm_out, {count :: integer(),
|
||||||
index :: integer(),
|
index :: integer(),
|
||||||
|
Loading…
Reference in New Issue
Block a user