Commit 60007d7c authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

connectivity: fix a wrong comparision

Thanks clang 7.

Fixes: cbfe6aa9
parent fa6e4c7e
......@@ -960,7 +960,7 @@ nm_connectivity_init (NMConnectivity *self)
ret = curl_global_init (CURL_GLOBAL_ALL);
if (!ret == CURLE_OK) {
if (ret != CURLE_OK) {
_LOGE ("unable to init cURL, connectivity check will not work: (%d) %s",
ret, curl_easy_strerror (ret));
Markdown is supported
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