diff options
author | Simo Sorce <idra@samba.org> | 2008-11-24 16:15:38 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-11-24 16:15:38 -0500 |
commit | 4ed04a82c352a717bd2c18cebe134fffdcafd721 (patch) | |
tree | 72b58362ed18ba2d91254c8178ded6973f3b6dfd | |
parent | 383361e9d7643580c389411a6f1edbbf3b2e0221 (diff) | |
download | sssd-4ed04a82c352a717bd2c18cebe134fffdcafd721.tar.gz sssd-4ed04a82c352a717bd2c18cebe134fffdcafd721.tar.bz2 sssd-4ed04a82c352a717bd2c18cebe134fffdcafd721.zip |
Fix indentation
-rw-r--r-- | server/nss/nsssrv.c | 18 | ||||
-rw-r--r-- | server/util/service_helpers.c | 6 | ||||
-rw-r--r-- | server/util/service_helpers.h | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/server/nss/nsssrv.c b/server/nss/nsssrv.c index fff563d0..1969fe49 100644 --- a/server/nss/nsssrv.c +++ b/server/nss/nsssrv.c @@ -250,11 +250,11 @@ static int nss_sbus_init(struct nss_ctx *nctx) /* Set up SBUS connection to the monitor */ ss_ctx = sssd_service_sbus_init(nctx, nctx->ev, nctx->cdb, - provide_identity, - reply_ping); + provide_identity, + reply_ping); if (ss_ctx == NULL) { DEBUG(0, ("Could not initialize D-BUS.\n")); - return ENOMEM; + return ENOMEM; } /* Set up NSS-specific listeners */ @@ -309,15 +309,15 @@ static int set_unix_socket(struct nss_ctx *nctx) nctx->lfde = event_add_fd(nctx->ev, nctx, nctx->lfd, EVENT_FD_READ, accept_fd_handler, nctx); - /* we want default permissions on created files to be very strict, - so set our umask to 0177 */ - umask(0177); + /* we want default permissions on created files to be very strict, + so set our umask to 0177 */ + umask(0177); return EOK; failed: - /* we want default permissions on created files to be very strict, - so set our umask to 0177 */ - umask(0177); + /* we want default permissions on created files to be very strict, + so set our umask to 0177 */ + umask(0177); close(nctx->lfd); return EIO; } diff --git a/server/util/service_helpers.c b/server/util/service_helpers.c index 9f16d9b1..0c16af89 100644 --- a/server/util/service_helpers.c +++ b/server/util/service_helpers.c @@ -1,4 +1,4 @@ -/* +/* SSSD Service monitor @@ -27,7 +27,7 @@ #include "service_helpers.h" #include "sbus_interfaces.h" -/* +/* * Set up an SBUS connection to the monitor */ struct service_sbus_ctx *sssd_service_sbus_init(TALLOC_CTX *mem_ctx, @@ -42,7 +42,7 @@ struct service_sbus_ctx *sssd_service_sbus_init(TALLOC_CTX *mem_ctx, char *sbus_address; DBusConnection *conn; int ret; - + ctx = talloc_new(mem_ctx); if (ctx == NULL) goto error; diff --git a/server/util/service_helpers.h b/server/util/service_helpers.h index 6435ead5..440186db 100644 --- a/server/util/service_helpers.h +++ b/server/util/service_helpers.h @@ -1,4 +1,4 @@ -/* +/* SSSD Service monitor @@ -27,7 +27,7 @@ struct service_sbus_ctx { struct sbus_conn_ctx *scon_ctx; }; -/* +/* * Set up an SBUS connection to the monitor */ struct service_sbus_ctx *sssd_service_sbus_init(TALLOC_CTX *mem_ctx, |