/[hurd]/hurd/nfsd/loop.c
ViewVC logotype

Diff of /hurd/nfsd/loop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by marcus, Sun Sep 29 15:12:48 2002 UTC revision 1.8.2.1 by ams, Mon Oct 31 00:22:21 2005 UTC
# Line 1  Line 1 
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.
# Line 77  server_loop (int fd) Line 77  server_loop (int fd)
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          {          {
# Line 173  server_loop (int fd) Line 173  server_loop (int fd)
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    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26