1 |
/* loop.c - Main server loop for nfs server. |
/* loop.c - Main server loop for nfs server. |
2 |
Copyright (C) 1996,98,2002 Free Software Foundation, Inc. |
Copyright (C) 1996,98,2002,2005 Free Software Foundation, Inc. |
3 |
Written by Michael I. Bushnell, p/BSG. |
Written by Michael I. Bushnell, p/BSG. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
77 |
/* This transacation has already completed. */ |
/* This transacation has already completed. */ |
78 |
goto repost_reply; |
goto repost_reply; |
79 |
|
|
80 |
r = (int *) rbuf = malloc (MAXIOSIZE); |
r = (int *) (rbuf = malloc (MAXIOSIZE)); |
81 |
|
|
82 |
if (ntohl (*p) != RPC_MSG_VERSION) |
if (ntohl (*p) != RPC_MSG_VERSION) |
83 |
{ |
{ |
173 |
if (amt > MAXIOSIZE) |
if (amt > MAXIOSIZE) |
174 |
{ |
{ |
175 |
free (rbuf); |
free (rbuf); |
176 |
r = (int *) rbuf = malloc (amt); |
r = (int *) (rbuf = malloc (amt)); |
177 |
} |
} |
178 |
} |
} |
179 |
|
|