Revert "Fix indentation"
authorVolker Lendecke <vl@samba.org>
Fri, 11 Jul 2008 15:45:40 +0000 (17:45 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 11 Jul 2008 15:53:26 +0000 (17:53 +0200)
This reverts commit 954556b527aa652f9a46f0d48834e92befb3c5f9.

source/winbindd/idmap_cache.c

index a3207663e4f3336bc94dd6320a0498dc2e2abef2..ebfae7dc267c98912fac1af07cf230b0250d9353 100644 (file)
@@ -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);