diff options
Diffstat (limited to 'support/nfs/exports.c')
-rw-r--r-- | support/nfs/exports.c | 4 |
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; |