diff options
Diffstat (limited to 'src/proxy.c')
-rw-r--r-- | src/proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy.c b/src/proxy.c index 8e99f3b..28521ea 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -101,7 +101,7 @@ void pacrunner_proxy_unref(struct pacrunner_proxy *proxy) if (proxy == NULL) return; - if (g_atomic_int_dec_and_test(&proxy->refcount) == FALSE) + if (!g_atomic_int_dec_and_test(&proxy->refcount)) return; reset_proxy(proxy); |