summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorhjl <hjl>2000-03-22 18:13:36 +0000
committerhjl <hjl>2000-03-22 18:13:36 +0000
commit4b5c4d21704d0767747c71b22f0e91efe59c07d6 (patch)
treeec347b4359293e9cf447e84fa5d5ea6e1bd615cc /support
parent93a8e35ff8def529f41b82a13440f2e9b46d0dbd (diff)
downloadnfs-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.
Diffstat (limited to 'support')
-rw-r--r--support/nfs/exports.c4
1 files changed, 2 insertions, 2 deletions
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;