aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-18 02:40:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-18 02:40:54 +0000
commit72e615009bfde798692487d04ae548d15eb423ba (patch)
tree28004477b88df6fe7177da91ccf26642bdb7a998 /sunrpc
parent7c370086323e3915607c4b1021c817746ac991c9 (diff)
downloadglibc-72e615009bfde798692487d04ae548d15eb423ba.zip
glibc-72e615009bfde798692487d04ae548d15eb423ba.tar.gz
glibc-72e615009bfde798692487d04ae548d15eb423ba.tar.bz2
Update.
2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> * tst-context1.c (GUARD_PATTERN): Defined. (tst_context_t): Define struct containing ucontext_t & guard words. (ctx): Declare as an array of tst_context_t. (fct): Verify uc_link & guard words are still valid. (tf): Initialize guard words in ctx. Adjust ctx refs for new struct.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/pmap_prot2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/pmap_prot2.c b/sunrpc/pmap_prot2.c
index aa1f8eb..9dd4925 100644
--- a/sunrpc/pmap_prot2.c
+++ b/sunrpc/pmap_prot2.c
@@ -93,7 +93,7 @@ xdr_pmaplist (xdrs, rp)
*/
bool_t more_elements;
int freeing = (xdrs->x_op == XDR_FREE);
- struct pmaplist **next = NULL;
+ struct pmaplist *next = NULL;
while (TRUE)
{
@@ -108,12 +108,12 @@ xdr_pmaplist (xdrs, rp)
* before we free the current object ...
*/
if (freeing)
- next = &((*rp)->pml_next);
+ next = (*rp)->pml_next;
if (!INTUSE(xdr_reference) (xdrs, (caddr_t *) rp,
(u_int) sizeof (struct pmaplist),
(xdrproc_t) INTUSE(xdr_pmap)))
return FALSE;
- rp = freeing ? next : &((*rp)->pml_next);
+ rp = freeing ? &next : &((*rp)->pml_next);
}
}
INTDEF(xdr_pmaplist)