Author: gd
Date: 2007-08-27 18:26:40 +0000 (Mon, 27 Aug 2007)
New Revision: 24714

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24714

Log:
Fix confusing indent.

Guenther

Modified:
   branches/SAMBA_3_2/source/nsswitch/winbindd_cache.c
   branches/SAMBA_3_2_0/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_2/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_2/source/nsswitch/winbindd_cache.c 2007-08-27 18:12:29 UTC 
(rev 24713)
+++ branches/SAMBA_3_2/source/nsswitch/winbindd_cache.c 2007-08-27 18:26:40 UTC 
(rev 24714)
@@ -1144,14 +1144,15 @@
                        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));

Modified: branches/SAMBA_3_2_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_2_0/source/nsswitch/winbindd_cache.c       2007-08-27 
18:12:29 UTC (rev 24713)
+++ branches/SAMBA_3_2_0/source/nsswitch/winbindd_cache.c       2007-08-27 
18:26:40 UTC (rev 24714)
@@ -1144,14 +1144,15 @@
                        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));

Reply via email to