From befe2ca30f0fa5da9416a9beb9f6a398f8a253bc Mon Sep 17 00:00:00 2001 From: "ian.mcgreer%sun.com" Date: Fri, 26 Apr 2002 12:59:06 +0000 Subject: [PATCH] fix broken HPUX builds git-svn-id: svn://10.0.0.236/trunk@119958 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/dev/devutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/security/nss/lib/dev/devutil.c b/mozilla/security/nss/lib/dev/devutil.c index d8837ab7ead..f9f01539843 100644 --- a/mozilla/security/nss/lib/dev/devutil.c +++ b/mozilla/security/nss/lib/dev/devutil.c @@ -32,7 +32,7 @@ */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: devutil.c,v $ $Revision: 1.13 $ $Date: 2002-04-25 19:33:47 $ $Name: not supported by cvs2svn $"; +static const char CVS_ID[] = "@(#) $RCSfile: devutil.c,v $ $Revision: 1.14 $ $Date: 2002-04-26 12:59:06 $ $Name: not supported by cvs2svn $"; #endif /* DEBUG */ #ifndef DEVM_H @@ -687,11 +687,11 @@ create_object_array *doObjects = PR_FALSE; *status = PR_FAILURE; *numObjects = 0; - } else if (numObjects > 0) { + } else if (*numObjects > 0) { rvOandA = nss_ZNEWARRAY(NULL, nssCryptokiObjectAndAttributes *, *numObjects + 1); - status = rvOandA ? PR_SUCCESS : PR_FALSE; + *status = rvOandA ? PR_SUCCESS : PR_FALSE; } return rvOandA; }