Deleted Added
full compact
2c2
< /* $FreeBSD: head/lib/libc/rpc/clnt_dg.c 74462 2001-03-19 12:50:13Z alfred $ */
---
> /* $FreeBSD: head/lib/libc/rpc/clnt_dg.c 74879 2001-03-27 21:27:33Z wpaul $ */
128a129
> int cu_async;
240a242
> cu->cu_async = FALSE;
314a317
> u_int32_t xid;
338a342,343
> if (cu->cu_async == TRUE && xargs == NULL)
> goto get_reply;
342a348,349
> * XXX Yes, and it's in network byte order, so we should to
> * be careful when we increment it, shouldn't we.
344c351,354
< (*(u_int32_t *)(void *)(cu->cu_outbuf))++;
---
> xid = ntohl(*(u_int32_t *)(void *)(cu->cu_outbuf));
> xid++;
> *(u_int32_t *)(void *)(cu->cu_outbuf) = htonl(xid);
>
368a379,381
>
> get_reply:
>
498c511,512
< if (*((u_int32_t *)(void *)(cu->cu_inbuf)) !=
---
> if (cu->cu_async == FALSE &&
> *((u_int32_t *)(void *)(cu->cu_inbuf)) !=
725c739,741
<
---
> case CLSET_ASYNC:
> cu->cu_async = *(int *)(void *)info;
> break;