Author: abartlet
Date: 2005-08-06 22:43:09 +0000 (Sat, 06 Aug 2005)
New Revision: 9165

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

Log:
Fix inverted error check in untested code path.  (My untested code...)

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/kerberos/kerberos_pac.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/kerberos/kerberos_pac.c
===================================================================
--- branches/SAMBA_4_0/source/auth/kerberos/kerberos_pac.c      2005-08-06 
18:02:35 UTC (rev 9164)
+++ branches/SAMBA_4_0/source/auth/kerberos/kerberos_pac.c      2005-08-06 
22:43:09 UTC (rev 9165)
@@ -216,7 +216,7 @@
                                        smb_krb5_context,
                                        krbtgt_keyblock,
                                        service_keyblock);
-       if (NT_STATUS_IS_OK(nt_status)) {
+       if (!NT_STATUS_IS_OK(nt_status)) {
                return nt_status;
        }
 

Reply via email to