summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus_request.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-04-21 17:04:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-03 13:31:16 +0200
commit7daf068c4bbf581a898891e130c244eb9707b32a (patch)
tree986a285e1adc3eeae502f0c9620931031317b7bb /src/sbus/sssd_dbus_request.c
parentd37429aa532943fdb6ce6568b3d3176013a6b378 (diff)
downloadsssd-7daf068c4bbf581a898891e130c244eb9707b32a.tar.gz
sssd-7daf068c4bbf581a898891e130c244eb9707b32a.tar.xz
sssd-7daf068c4bbf581a898891e130c244eb9707b32a.zip
SBUS: several trivial style fixes
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 <pbrezina@redhat.com> Reviewed-by: Stef Walter <stefw@redhat.com> (cherry picked from commit 3d5908ed0faf400a5c7d9c3e4312597ee1b7786a)
Diffstat (limited to 'src/sbus/sssd_dbus_request.c')
-rw-r--r--src/sbus/sssd_dbus_request.c4
1 files changed, 2 insertions, 2 deletions
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 */