version 1.17, 2009/10/27 23:59:43 |
version 1.18, 2015/08/20 22:32:42 |
|
|
if (!xdr_bool(xdrsp, &bool)) |
if (!xdr_bool(xdrsp, &bool)) |
return (0); |
return (0); |
while (bool) { |
while (bool) { |
mp = (struct mountlist *)malloc(sizeof(struct mountlist)); |
mp = malloc(sizeof(struct mountlist)); |
if (mp == NULL) |
if (mp == NULL) |
return (0); |
return (0); |
mp->ml_left = mp->ml_right = (struct mountlist *)0; |
mp->ml_left = mp->ml_right = (struct mountlist *)0; |
|
|
if (!xdr_bool(xdrsp, &bool)) |
if (!xdr_bool(xdrsp, &bool)) |
return (0); |
return (0); |
while (bool) { |
while (bool) { |
ep = (struct exportslist *)malloc(sizeof(struct exportslist)); |
ep = malloc(sizeof(struct exportslist)); |
if (ep == NULL) |
if (ep == NULL) |
return (0); |
return (0); |
ep->ex_groups = (struct grouplist *)0; |
ep->ex_groups = (struct grouplist *)0; |
|
|
if (!xdr_bool(xdrsp, &grpbool)) |
if (!xdr_bool(xdrsp, &grpbool)) |
return (0); |
return (0); |
while (grpbool) { |
while (grpbool) { |
gp = (struct grouplist *)malloc( |
gp = malloc(sizeof(struct grouplist)); |
sizeof(struct grouplist)); |
|
if (gp == NULL) |
if (gp == NULL) |
return (0); |
return (0); |
strp = gp->gr_name; |
strp = gp->gr_name; |