summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-09-02 12:28:50 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-09-02 14:58:43 +0200
commit74a7626940b3ac0e7439681c5fc032896b511e3f (patch)
tree8321a2e02ef98773f1e5411c1f9ee2570c3e4a6f
parentb76da15dbf0851552d422566b9722f6c65d3e072 (diff)
downloadNetworkManager-74a7626940b3ac0e7439681c5fc032896b511e3f.tar.gz
libnm/remote-connection: add a pair of curly brackets
...to aid readability.
-rw-r--r--libnm/nm-remote-connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-remote-connection.c b/libnm/nm-remote-connection.c
index 0a46befa9b..f76af143a2 100644
--- a/libnm/nm-remote-connection.c
+++ b/libnm/nm-remote-connection.c
@@ -86,11 +86,11 @@ update2_cb (GObject *proxy, GAsyncResult *result, gpointer user_data)
if (nmdbus_settings_connection_call_update2_finish (NMDBUS_SETTINGS_CONNECTION (proxy),
&v,
result,
- &error))
+ &error)) {
g_simple_async_result_set_op_res_gpointer (simple,
v,
(GDestroyNotify) g_variant_unref);
- else {
+ } else {
g_dbus_error_strip_remote_error (error);
g_simple_async_result_take_error (simple, error);
}