Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 2c9062af3c33b15e9928d80ce09b878f > files > 1

ncpfs-2.2.6-13.fc13.src.rpm

--- ncpfs-2.2.3/contrib/pam/pam_ncp_auth.c
+++ ncpfs-2.2.3/contrib/pam/pam_ncp_auth.c
@@ -2467,7 +2467,7 @@
 bailoutctx:;
 	NWDSFreeContext(ctx);
 bailout:;
-	if (!err & (ui->qflag & QF_DEBUG))
+	if ((!err) && (ui->qflag & QF_DEBUG))
 		syslog(LOG_NOTICE, "%u %u %s %s %s\n", ui->uid, ui->gid, ui->dir, ui->gecos, ui->shell);
 	return err;
 }