diff options
author | hjl <hjl> | 2000-03-22 18:13:36 +0000 |
---|---|---|
committer | hjl <hjl> | 2000-03-22 18:13:36 +0000 |
commit | 4b5c4d21704d0767747c71b22f0e91efe59c07d6 (patch) | |
tree | ec347b4359293e9cf447e84fa5d5ea6e1bd615cc | |
parent | 93a8e35ff8def529f41b82a13440f2e9b46d0dbd (diff) | |
download | nfs-utils-4b5c4d21704d0767747c71b22f0e91efe59c07d6.tar.gz nfs-utils-4b5c4d21704d0767747c71b22f0e91efe59c07d6.tar.xz nfs-utils-4b5c4d21704d0767747c71b22f0e91efe59c07d6.zip |
2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
* support/nfs/exports.c (parsesquash): Correctly set the
return pointer.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | support/nfs/exports.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2000-03-21 Michael Weiser <michael@weiser.saale-net.de> + + * support/nfs/exports.c (parsesquash): Correctly set the + return pointer. + Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au> * support/include/nfs/nfs.h: Removed knowledge of internals of @@ -21,7 +26,7 @@ Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au> * support/nfs/rpcmisc.c (rpc_init): Share transports. -Mon Mar 13 18:31:33 2000 H.J. Lu <hjl@lucon.org> +2000-03-13 H.J. Lu <hjl@lucon.org> * 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; |