mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 11:10:16 +01:00
connectivity: fix a wrong comparision
Thanks clang 7.
Fixes: cbfe6aa973
This commit is contained in:
parent
fa6e4c7eb0
commit
60007d7cbd
1 changed files with 1 additions and 1 deletions
|
|
@ -960,7 +960,7 @@ nm_connectivity_init (NMConnectivity *self)
|
|||
|
||||
#if WITH_CONCHECK
|
||||
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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue