diff options
| author | Csaba Henk <csaba@gluster.com> | 2010-06-24 12:41:03 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-06-25 03:16:39 -0700 | 
| commit | 2c5c3cedc096c36ef9d004ffa0cdb5324d2915e6 (patch) | |
| tree | 626f99a789cf03ae342f0ddb5ad3823ce135fdf5 /xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c | |
| parent | 29893bcba579f7e37a6ace018ffda1c8abe45550 (diff) | |
OS X: fix up rpc protocol
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c')
| -rw-r--r-- | xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c b/xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c index 1bcd9bbaa4c..088bddbf5b7 100644 --- a/xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c +++ b/xlators/protocol/rpc/rpc-lib/src/xdr-rpc.c @@ -178,7 +178,11 @@ xdr_to_auth_unix_cred (char *msgbuf, int msglen, struct authunix_parms *au,                  return -1;          au->aup_machname = machname; +#ifdef GF_DARWIN_HOST_OS +        au->aup_gids = (int *)gids; +#else          au->aup_gids = gids; +#endif          xdrmem_create (&xdr, msgbuf, msglen, XDR_DECODE);  | 
