From 6d551ebed1e97f54a92412bde0555a5ffe920577 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 4 Jul 2022 10:18:50 +0200 Subject: 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 --- src/wispr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1