diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-06 16:03:27 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-06 16:03:27 +0200 |
commit | 1ffdf27d927c7944e3bce9b1cd3c101d823fd826 (patch) | |
tree | b91268da5ea5f1d224977ce4e5bbb75386d9a424 /dbus-proxy/dbus-proxy.c | |
parent | afa12a446fcc473eb740146805856e76ad82b4af (diff) | |
download | xdg-app-1ffdf27d927c7944e3bce9b1cd3c101d823fd826.tar.gz |
uncruftify: Initial run, all non-problematic changes
Diffstat (limited to 'dbus-proxy/dbus-proxy.c')
-rw-r--r-- | dbus-proxy/dbus-proxy.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dbus-proxy/dbus-proxy.c b/dbus-proxy/dbus-proxy.c index 97cf5bc..0c383d0 100644 --- a/dbus-proxy/dbus-proxy.c +++ b/dbus-proxy/dbus-proxy.c @@ -38,7 +38,7 @@ parse_generic_args (int n_args, const char *args[]) { if (g_str_has_prefix (args[0], "--fd=")) { - const char *fd_s = args[0] + strlen("--fd="); + const char *fd_s = args[0] + strlen ("--fd="); char *endptr; int fd; @@ -63,19 +63,19 @@ int start_proxy (int n_args, const char *args[]) { g_autoptr(XdgAppProxy) proxy = NULL; - g_autoptr (GError) error = NULL; + g_autoptr(GError) error = NULL; const char *bus_address, *socket_path; int n; n = 0; - if (n_args < n+1 || args[n][0] == '-') + if (n_args < n + 1 || args[n][0] == '-') { g_printerr ("No bus address given\n"); return -1; } bus_address = args[n++]; - if (n_args < n+1 || args[n][0] == '-') + if (n_args < n + 1 || args[n][0] == '-') { g_printerr ("No socket path given\n"); return -1; @@ -152,9 +152,9 @@ start_proxy (int n_args, const char *args[]) } static gboolean -sync_closed_cb (GIOChannel *source, - GIOCondition condition, - gpointer data) +sync_closed_cb (GIOChannel *source, + GIOCondition condition, + gpointer data) { GList *l; |