diff options
author | Daniel Wagner <wagi@monom.org> | 2022-07-04 10:18:50 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2022-08-01 08:41:02 +0200 |
commit | 6d551ebed1e97f54a92412bde0555a5ffe920577 (patch) | |
tree | 06fdede9f3456c93131ad4539636d2b369e57ad6 | |
parent | d7022ad52d8bf84f437b0b2e021d7b06064b97dd (diff) | |
download | connman-6d551ebed1e97f54a92412bde0555a5ffe920577.tar.gz |
wispr: Ignore NULL proxy
connmand[16822]: Failed to find URL:http://ipv6.connman.net/online/status.html
connmand[16822]: src/wispr.c:proxy_callback() proxy (null)
(connmand:16449): GLib-CRITICAL **: 10:15:43.812: g_str_has_prefix: assertion 'str != NULL' failed
-rw-r--r-- | src/wispr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wispr.c b/src/wispr.c index 9bd2a2ef..a07896ca 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -835,7 +835,7 @@ static void proxy_callback(const char *proxy, void *user_data) DBG("proxy %s", proxy); - if (!wp_context) + if (!wp_context || !proxy) return; wp_context->token = 0; |