From: hjl Date: Wed, 22 Mar 2000 18:13:36 +0000 (+0000) Subject: 2000-03-21 Michael Weiser X-Git-Tag: nfs-utils-0-1-7-1~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=4b5c4d21704d0767747c71b22f0e91efe59c07d6 2000-03-21 Michael Weiser * support/nfs/exports.c (parsesquash): Correctly set the return pointer. --- diff --git a/ChangeLog b/ChangeLog index 32a1739..5a3d010 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-03-21 Michael Weiser + + * support/nfs/exports.c (parsesquash): Correctly set the + return pointer. + Tue Mar 21 11:38:48 EST 2000 NeilBrown * support/include/nfs/nfs.h: Removed knowledge of internals of @@ -21,7 +26,7 @@ Tue Mar 21 11:38:48 EST 2000 NeilBrown * support/nfs/rpcmisc.c (rpc_init): Share transports. -Mon Mar 13 18:31:33 2000 H.J. Lu +2000-03-13 H.J. Lu * etc/redhat/nfsd.init: Updated. diff --git a/support/nfs/exports.c b/support/nfs/exports.c index 71420c8..3b34d4e 100644 --- a/support/nfs/exports.c +++ b/support/nfs/exports.c @@ -394,8 +394,8 @@ parsesquash(char *list, int **idp, int *lenp, char **ep) cp++; } while(1); - if (*cp == ',') *ep = cp+1; - + if (**ep == ',') (*ep)++; + *lenp = len; *idp = id; return 1;