Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 17:32:08 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9746 for review
Message-ID:  <200204150032.g3F0W8938733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9746

Change 9746 by des@des.at.des.thinksec.com on 2002/04/14 17:31:56

	Fix highly embarassing typo.  This makes a good argument for using
	verbose variable names.

Affected files ...

... //depot/projects/openpam/lib/pam_get_authtok.c#16 edit

Differences ...

==== //depot/projects/openpam/lib/pam_get_authtok.c#16 (text+ko) ====

@@ -31,7 +31,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#15 $
+ * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#16 $
  */
 
 #include <sys/param.h>
@@ -120,11 +120,11 @@
 	}
 	if (resp == NULL)
 		return (PAM_TRY_AGAIN);
-	r = pam_set_item(pamh, pitem, resp);
+	r = pam_set_item(pamh, item, resp);
 	free(resp);
 	if (r != PAM_SUCCESS)
 		return (r);
-	return (pam_get_item(pamh, pitem, (const void **)authtok));
+	return (pam_get_item(pamh, item, (const void **)authtok));
 }
 
 /*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204150032.g3F0W8938733>