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
1 changed files with 2 additions and 2 deletions

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(),