aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-31 15:46:14 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-31 15:48:16 +0100
commit280363e0d639a77a4072f26b9ec499de6575c0f2 (patch)
tree5d1e0fb1ac6fa5798be20cbb1eb825df74529dfb /src/mm-error-helpers.c
parent2020f1f2e748beb3f919cd0818a32673b39aecbc (diff)
libmm-glib,helpers: allow \r\n in string to number conversions
It's not uncommon that we may want to parse a simple AT response that contains a single number by doing mm_strip_tag() followed by mm_get_uint_from_str(). In order to do this, we need to have the helper methods that convert strings to numbers support \r\n characters at the end of the string, as we would have in AT responses.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions