all/trivial: fix whitespace/indentation

This commit is contained in:
Thomas Haller 2019-02-22 16:27:50 +01:00
parent 46bc5feb99
commit 79af876e0e
2 changed files with 5 additions and 5 deletions

View file

@ -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) {

View file

@ -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