Date: Thu, 2 Jan 2003 18:47:52 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 23077 for review Message-ID: <200301030247.h032lqkj051615@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=23077 Change 23077 by des@des.at.des.thinksec.com on 2003/01/02 18:47:06 Use RETURNP() rather than RETURNC(). Affected files ... .. //depot/projects/openpam/lib/pam_getenv.c#9 edit Differences ... ==== //depot/projects/openpam/lib/pam_getenv.c#9 (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_getenv.c#8 $ + * $P4: //depot/projects/openpam/lib/pam_getenv.c#9 $ */ #include <stdlib.h> @@ -56,12 +56,12 @@ ENTER(); if (pamh == NULL) - RETURNC(NULL); + RETURNP(NULL); if (name == NULL || strchr(name, '=') != NULL) - RETURNC(NULL); + RETURNP(NULL); if ((i = openpam_findenv(pamh, name, strlen(name))) == -1) - RETURNC(NULL); - RETURNC(strdup(pamh->env[i])); + RETURNP(NULL); + RETURNP(strdup(pamh->env[i])); } /** 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?200301030247.h032lqkj051615>