/[hurd]/hurd-l4/libhurd-cap-server/client-create.c
ViewVC logotype

Diff of /hurd-l4/libhurd-cap-server/client-create.c

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

revision 1.4 by marcus, Tue Oct 19 19:41:03 2004 UTC revision 1.5 by marcus, Mon Nov 1 20:54:00 2004 UTC
# Line 96  _hurd_cap_client_alloc (hurd_task_id_t t Line 96  _hurd_cap_client_alloc (hurd_task_id_t t
96                          _hurd_cap_client_t *r_client)                          _hurd_cap_client_t *r_client)
97  {  {
98    error_t err;    error_t err;
99      void *new_client;
100    _hurd_cap_client_t client;    _hurd_cap_client_t client;
101    
102    err = hurd_slab_alloc (&_hurd_cap_client_space, (void **) &client);    err = hurd_slab_alloc (&_hurd_cap_client_space, &new_client);
103    if (!client)    if (err)
104      return errno;      return err;
105    
106      client = new_client;
107    
108    /* CLIENT->id will be initialized by the caller when adding the    /* CLIENT->id will be initialized by the caller when adding the
109       client to the client table of the class.  */       client to the client table of the class.  */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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