Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpam/modules/pam_krb5 Fix misplaced parenthesis, from ...



details:   https://anonhg.NetBSD.org/src/rev/7ac7e659fac5
branches:  trunk
changeset: 763745:7ac7e659fac5
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sat Apr 02 10:22:09 2011 +0000

description:
Fix misplaced parenthesis, from henning.petersen%t-online.de@localhost, thanks.

diffstat:

 lib/libpam/modules/pam_krb5/pam_krb5.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3cdd89a4db16 -r 7ac7e659fac5 lib/libpam/modules/pam_krb5/pam_krb5.c
--- a/lib/libpam/modules/pam_krb5/pam_krb5.c    Sat Apr 02 10:21:58 2011 +0000
+++ b/lib/libpam/modules/pam_krb5/pam_krb5.c    Sat Apr 02 10:22:09 2011 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index