Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 18:31:30 -0800 (PST)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 23074 for review
Message-ID:  <200301030231.h032VUgC047800@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=23074

Change 23074 by des@des.at.des.thinksec.com on 2003/01/02 18:30:52

	Fix a typo in the active version of RETURNC(), and a cosmetic nit
	in the active version of RETURNI().

Affected files ...

.. //depot/projects/openpam/lib/openpam_impl.h#19 edit

Differences ...

==== //depot/projects/openpam/lib/openpam_impl.h#19 (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/openpam_impl.h#18 $
+ * $P4: //depot/projects/openpam/lib/openpam_impl.h#19 $
  */
 
 #ifndef _OPENPAM_IMPL_H_INCLUDED
@@ -125,15 +125,15 @@
 #define ENTER() openpam_log(PAM_LOG_DEBUG, "entering")
 #define	RETURNV() openpam_log(PAM_LOG_DEBUG, "returning")
 #define RETURNC(c) do { \
-	if ((c) >= 0 && (c) < PAM_NUM_ERRORS)
+	if ((c) >= 0 && (c) < PAM_NUM_ERRORS) \
 		openpam_log(PAM_LOG_DEBUG, "returning %s", _pam_err_name[c]); \
 	else \
 		openpam_log(PAM_LOG_DEBUG, "returning %d!", (c)); \
 	return (c); \
 } while (0)
-#define	RETURNI(n) do { \
-	openpam_log(PAM_LOG_DEBUG, "returning %d", (n)); \
-	return (n); \
+#define	RETURNI(i) do { \
+	openpam_log(PAM_LOG_DEBUG, "returning %d", (i)); \
+	return (i); \
 } while (0)
 #define	RETURNP(p) do { \
 	if ((p) == NULL) \

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?200301030231.h032VUgC047800>