svn commit: samba r24719 - in branches/SAMBA_3_0_25/source/nsswitch: .

jra at samba.org jra at samba.org
Mon Aug 27 19:02:54 GMT 2007


Author: jra
Date: 2007-08-27 19:02:53 +0000 (Mon, 27 Aug 2007)
New Revision: 24719

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

Log:
Janitor for Guenther.
"Fix confusing indent."
Jeremy.

Modified:
   branches/SAMBA_3_0_25/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_cache.c	2007-08-27 18:56:46 UTC (rev 24718)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_cache.c	2007-08-27 19:02:53 UTC (rev 24719)
@@ -1133,14 +1133,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));



More information about the samba-cvs mailing list