aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-21 13:44:16 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-21 13:44:16 +0100
commit634682b602dd51efbda42a8b2e8764b9bb0024e2 (patch)
tree3f70cc23248473a08e6ca68c201b080a08636090 /introspection
parentd01bca493dad933b9df51bec1254c79089ffa1c7 (diff)
cinterion: make sure FALSE sets GError in parse_smong_response()
The g_regex_match_full() method may return FALSE without setting the GError, so that case needs to be considered. In addition to that, the following g_assert() was not doing what it should have been, as it was comparing the address of the variable and not the variable itself; rework the code to avoid that as well: g_assert (access_tech != MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN);
Diffstat (limited to 'introspection')
0 files changed, 0 insertions, 0 deletions