Commit 79af876e authored by Thomas Haller's avatar Thomas Haller

all/trivial: fix whitespace/indentation

parent 46bc5feb
Pipeline #20782 passed with stages
in 68 minutes and 11 seconds
......@@ -828,8 +828,8 @@ nm_vpn_service_plugin_read_vpn_details (int fd,
/* done a line */
g_return_val_if_fail (hash, FALSE);
g_hash_table_insert (hash,
g_string_free (key, FALSE),
g_string_free (val, FALSE));
g_string_free (key, FALSE),
g_string_free (val, FALSE));
key = NULL;
val = NULL;
hash = NULL;
......@@ -837,7 +837,7 @@ nm_vpn_service_plugin_read_vpn_details (int fd,
}
if (strcmp (line->str, "DONE") == 0) {
/* finish marker */
/* finish marker */
break;
} else if (strncmp (line->str, DATA_KEY_TAG, strlen (DATA_KEY_TAG)) == 0) {
if (key != NULL) {
......
......@@ -1101,8 +1101,8 @@ nm_connectivity_init (NMConnectivity *self)
#if WITH_CONCHECK
ret = curl_global_init (CURL_GLOBAL_ALL);
if (ret != CURLE_OK) {
_LOGE ("unable to init cURL, connectivity check will not work: (%d) %s",
ret, curl_easy_strerror (ret));
_LOGE ("unable to init cURL, connectivity check will not work: (%d) %s",
ret, curl_easy_strerror (ret));
}
#endif
......
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