]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
authorhjl <hjl>
Wed, 22 Mar 2000 18:13:36 +0000 (18:13 +0000)
committerhjl <hjl>
Wed, 22 Mar 2000 18:13:36 +0000 (18:13 +0000)
* support/nfs/exports.c (parsesquash): Correctly set the
return pointer.

ChangeLog
support/nfs/exports.c

index 32a17394217c1fe22e90d1ce20e3d337c5761acd..5a3d0102aecbe967b4ddcf7c191df87b28d6ddc9 100644 (file)
--- 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.
 
index 71420c825520bd856753584bdee3d650bb08f7b3..3b34d4ee55e1f420a6923fada953aa15a30d51b3 100644 (file)
@@ -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;