summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--support/nfs/exports.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 32a1739..5a3d010 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;