From 3d5908ed0faf400a5c7d9c3e4312597ee1b7786a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 21 Apr 2014 17:04:24 +0200 Subject: SBUS: several trivial style fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In SSSD we tend to use {} brackets around single-line blocks, too to make sure we don't forget to add them should the block become larger. We also don't add a space between function name and the opening "(". Reviewed-by: Pavel Březina Reviewed-by: Stef Walter --- src/sbus/sssd_dbus_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sbus/sssd_dbus_request.c') diff --git a/src/sbus/sssd_dbus_request.c b/src/sbus/sssd_dbus_request.c index 387691dea..342d8dfd2 100644 --- a/src/sbus/sssd_dbus_request.c +++ b/src/sbus/sssd_dbus_request.c @@ -185,7 +185,7 @@ parent_dbus_string_arrays(struct sbus_request *request, int first_arg_type, arg_type == DBUS_TYPE_SIGNATURE) { array_arg = talloc_zero(request, struct array_arg); - if(array_arg == NULL) { + if (array_arg == NULL) { /* no kidding ... */ DEBUG(SSSDBG_CRIT_FAILURE, "Out of memory while trying not to leak memory\n"); return false; @@ -222,7 +222,7 @@ sbus_request_parse_or_finish(struct sbus_request *request, if (dbus_message_get_args_valist(request->message, &error, first_arg_type, va)) { - ret = parent_dbus_string_arrays (request, first_arg_type, va2); + ret = parent_dbus_string_arrays(request, first_arg_type, va2); } else { /* Trying to send the error back to the caller in this case is a joke */ -- cgit