diff options
author | Thomas Haller <thaller@redhat.com> | 2020-09-28 14:50:01 +0200 |
---|---|---|
committer | Antonio Cardace <acardace@redhat.com> | 2020-09-28 16:07:52 +0200 |
commit | 740b092fda3d5f45102422f22884c88ea6c42858 (patch) | |
tree | 5a049cc10c99efb5ee39606b8b1d0893a9f46db3 /examples/C/glib/add-connection-libnm.c | |
parent | 328fb90f3e0d4e35975aff63944ac0412d7893a5 (diff) | |
download | NetworkManager-ac/clang-format.tar.gz |
format: replace tabs for indentation in code commentsac/clang-format
sed -i \
-e 's/^'$'\t'' \*/ */g' \
-e 's/^'$'\t\t'' \*/ */g' \
-e 's/^'$'\t\t\t'' \*/ */g' \
-e 's/^'$'\t\t\t\t'' \*/ */g' \
-e 's/^'$'\t\t\t\t\t'' \*/ */g' \
-e 's/^'$'\t\t\t\t\t\t'' \*/ */g' \
-e 's/^'$'\t\t\t\t\t\t\t'' \*/ */g' \
$(git ls-files -- '*.[hc]')
Diffstat (limited to 'examples/C/glib/add-connection-libnm.c')
-rw-r--r-- | examples/C/glib/add-connection-libnm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/C/glib/add-connection-libnm.c b/examples/C/glib/add-connection-libnm.c index 90e5f5a25c..393a516735 100644 --- a/examples/C/glib/add-connection-libnm.c +++ b/examples/C/glib/add-connection-libnm.c @@ -24,8 +24,8 @@ added_cb(GObject *client, GAsyncResult *result, gpointer user_data) GError * error = NULL; /* NM responded to our request; either handle the resulting error or - * print out the object path of the connection we just added. - */ + * print out the object path of the connection we just added. + */ remote = nm_client_add_connection_finish(NM_CLIENT(client), result, &error); if (error) { @@ -79,8 +79,8 @@ add_connection(NMClient *client, GMainLoop *loop, const char *con_name) nm_connection_add_setting(connection, NM_SETTING(s_ip4)); /* Ask the settings service to add the new connection; we'll quit the - * mainloop and exit when the callback is called. - */ + * mainloop and exit when the callback is called. + */ nm_client_add_connection_async(client, connection, TRUE, NULL, added_cb, loop); g_object_unref(connection); } |