mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
rx-dont-include-arraysize-in-offsetof-20020125
so this compiles on irix
This commit is contained in:
parent
4ff68264b6
commit
62bc57574a
@ -739,7 +739,7 @@ struct rx_ackPacket {
|
||||
#define RX_ACK_TYPE_ACK 1 /* I have this packet, although I may discard it later */
|
||||
|
||||
/* The packet size transmitted for an acknowledge is adjusted to reflect the actual size of the acks array. This macro defines the size */
|
||||
#define rx_AckDataSize(nAcks) (3 + offsetof(struct rx_ackPacket, acks[nAcks]))
|
||||
#define rx_AckDataSize(nAcks) (3 + nAcks + offsetof(struct rx_ackPacket, acks[0]))
|
||||
|
||||
#define RX_CHALLENGE_TIMEOUT 2 /* Number of seconds before another authentication request packet is generated */
|
||||
#define RX_CHALLENGE_MAXTRIES 50 /* Max # of times we resend challenge */
|
||||
|
Loading…
Reference in New Issue
Block a user