Commit 7e23f313 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

proxy: don't accept NULL pw_proxy in set_pw_proxy API

parent dc693ee0
Pipeline #321508 passed with stages
in 1 minute and 43 seconds
......@@ -256,8 +256,7 @@ wp_proxy_set_pw_proxy (WpProxy * self, struct pw_proxy * proxy)
WpProxyPrivate *priv = wp_proxy_get_instance_private (self);
if (!proxy)
g_return_if_fail (proxy);
g_return_if_fail (priv->pw_proxy == NULL);
priv->pw_proxy = proxy;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment