diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-03-01 11:25:13 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-03-01 11:30:04 +0100 |
commit | 03adbe0c77894946b808dd46a22466df8f1be822 (patch) | |
tree | 941e7c3483b17dcc1842aa0bb4280d94cc1ed0b9 /src/mbimcli | |
parent | 54c82ad802fda6c118c6f747f14ddb659be99aa6 (diff) | |
download | libmbim-03adbe0c77894946b808dd46a22466df8f1be822.tar.gz |
mbimcli,basic-connect: fix key-value parser in --connect
error: invalid auth protocol value given: 'PAP'
(mbimcli:679): GLib-WARNING **: 09:34:02.333: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: unknown auth: 'PAP'
Network start failed
The bug was introduced in 6c2d10eb0d645d0f72bfcd3b4c58cf39b4309211
Diffstat (limited to 'src/mbimcli')
-rw-r--r-- | src/mbimcli/mbimcli-basic-connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbimcli/mbimcli-basic-connect.c b/src/mbimcli/mbimcli-basic-connect.c index 50ca6d9..64f78a5 100644 --- a/src/mbimcli/mbimcli-basic-connect.c +++ b/src/mbimcli/mbimcli-basic-connect.c @@ -1391,7 +1391,7 @@ set_connect_activate_parse (const gchar *str, if (!mbimcli_parse_key_value_string (str, &error, connect_activate_properties_handle, - &props)) { + props)) { g_printerr ("error: couldn't parse input string: %s\n", error->message); return FALSE; } |