Module Name:    src
Committed By:   mbalmer
Date:           Sat Apr  2 10:22:09 UTC 2011

Modified Files:
        src/lib/libpam/modules/pam_krb5: pam_krb5.c

Log Message:
Fix misplaced parenthesis, from henning.peter...@t-online.de, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libpam/modules/pam_krb5/pam_krb5.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpam/modules/pam_krb5/pam_krb5.c
diff -u src/lib/libpam/modules/pam_krb5/pam_krb5.c:1.22 src/lib/libpam/modules/pam_krb5/pam_krb5.c:1.23
--- src/lib/libpam/modules/pam_krb5/pam_krb5.c:1.22	Sun Mar  8 19:38:03 2009
+++ src/lib/libpam/modules/pam_krb5/pam_krb5.c	Sat Apr  2 10:22:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: pam_krb5.c,v 1.22 2009/03/08 19:38:03 christos Exp $	*/
+/*	$NetBSD: pam_krb5.c,v 1.23 2011/04/02 10:22:09 mbalmer Exp $	*/
 
 /*-
  * This pam_krb5 module contains code that is:
@@ -53,7 +53,7 @@
 #ifdef __FreeBSD__
 __FBSDID("$FreeBSD: src/lib/libpam/modules/pam_krb5/pam_krb5.c,v 1.22 2005/01/24 16:49:50 rwatson Exp $");
 #else
-__RCSID("$NetBSD: pam_krb5.c,v 1.22 2009/03/08 19:38:03 christos Exp $");
+__RCSID("$NetBSD: pam_krb5.c,v 1.23 2011/04/02 10:22:09 mbalmer Exp $");
 #endif
 
 #include <sys/types.h>
@@ -540,7 +540,7 @@
 
 	/* Copy the creds (should be two of them) */
 	while ((krbret = krb5_cc_next_cred(pam_context, ccache_temp,
-				&cursor, &creds) == 0)) {
+				&cursor, &creds)) == 0) {
 
 		krbret = krb5_cc_store_cred(pam_context, ccache_perm, &creds);
 		if (krbret != 0) {

Reply via email to