summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs')
-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;