r24714: Fix confusing indent.
authorGünther Deschner <gd@samba.org>
Mon, 27 Aug 2007 18:26:40 +0000 (18:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:15 +0000 (12:30 -0500)
Guenther
(This used to be commit 6a9af88a2d5daa0335a4596f7a826141ba81e303)

source3/nsswitch/winbindd_cache.c

index 395bee42d365f6d32149742b88a9ae4769b111ca..72ea7e4e780d9faaf4d0ceab86cf560febc77733 100644 (file)
@@ -1144,14 +1144,15 @@ do_query:
                        domain->name ));
 
                status = domain->backend->query_user_list(domain, mem_ctx, num_entries, info);
-               if (!NT_STATUS_IS_OK(status))
+               if (!NT_STATUS_IS_OK(status)) {
                        DEBUG(3, ("query_user_list: returned 0x%08x, "
                                  "retrying\n", NT_STATUS_V(status)));
-                       if (NT_STATUS_EQUAL(status, NT_STATUS_UNSUCCESSFUL)) {
-                               DEBUG(3, ("query_user_list: flushing "
-                                         "connection cache\n"));
-                               invalidate_cm_connection(&domain->conn);
-                       }
+               }
+               if (NT_STATUS_EQUAL(status, NT_STATUS_UNSUCCESSFUL)) {
+                       DEBUG(3, ("query_user_list: flushing "
+                                 "connection cache\n"));
+                       invalidate_cm_connection(&domain->conn);
+               }
 
        } while (NT_STATUS_V(status) == NT_STATUS_V(NT_STATUS_UNSUCCESSFUL) && 
                 (retry++ < 5));