File 0002-wispr-Ignore-NULL-proxy.patch of Package connman

From 6d551ebed1e97f54a92412bde0555a5ffe920577 Mon Sep 17 00:00:00 2001
From: Daniel Wagner <wagi@monom.org>
Date: Mon, 4 Jul 2022 10:18:50 +0200
Subject: [PATCH 2/5] 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(-)

--- a/src/wispr.c
+++ b/src/wispr.c
@@ -809,7 +809,7 @@ static void proxy_callback(const char *p
 
 	DBG("proxy %s", proxy);
 
-	if (!wp_context)
+	if (!wp_context || !proxy)
 		return;
 
 	wp_context->token = 0;
openSUSE Build Service is sponsored by