summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-11 17:45:40 +0200
committerVolker Lendecke <vl@samba.org>2008-07-11 17:53:26 +0200
commita25278a522414ef265871ed1108db72ac31e4550 (patch)
tree8a53771a95cb83264d99613d322a138412b8da8b /source3/winbindd
parentbe187b787ffa0db5207bf158dd7af55b86f0c253 (diff)
downloadsamba-a25278a522414ef265871ed1108db72ac31e4550.tar.gz
samba-a25278a522414ef265871ed1108db72ac31e4550.tar.bz2
samba-a25278a522414ef265871ed1108db72ac31e4550.zip
Revert "Fix indentation"
This reverts commit 954556b527aa652f9a46f0d48834e92befb3c5f9. (This used to be commit 1b1124bcb9043deb495897467e4cd3ae8a07784b)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_cache.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/winbindd/idmap_cache.c b/source3/winbindd/idmap_cache.c
index a3207663e4..ebfae7dc26 100644
--- a/source3/winbindd/idmap_cache.c
+++ b/source3/winbindd/idmap_cache.c
@@ -396,15 +396,15 @@ NTSTATUS idmap_cache_map_sid(struct idmap_cache_ctx *cache, struct id_map *id)
/* Check for valid or expired cache hits */
- if (t <= now) {
+ if (t <= now) {
/* We're expired. Return not mapped */
- ret = NT_STATUS_NONE_MAPPED;
- } else {
- /* this is not mapped as it was a negative cache hit */
- id->status = ID_UNMAPPED;
- ret = NT_STATUS_OK;
- }
-
+ ret = NT_STATUS_NONE_MAPPED;
+ } else {
+ /* this is not mapped as it was a negative cache hit */
+ id->status = ID_UNMAPPED;
+ ret = NT_STATUS_OK;
+ }
+
done:
SAFE_FREE(databuf.dptr);
talloc_free(sidkey);
@@ -508,14 +508,14 @@ NTSTATUS idmap_cache_map_id(struct idmap_cache_ctx *cache, struct id_map *id)
/* Process the negative cache hit */
- if (t <= now) {
+ if (t <= now) {
/* We're expired. Return not mapped */
- ret = NT_STATUS_NONE_MAPPED;
- } else {
+ ret = NT_STATUS_NONE_MAPPED;
+ } else {
/* this is not mapped is it was a negative cache hit */
- id->status = ID_UNMAPPED;
- ret = NT_STATUS_OK;
- }
+ id->status = ID_UNMAPPED;
+ ret = NT_STATUS_OK;
+ }
done:
SAFE_FREE(databuf.dptr);