X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=358d0b1c67732c050bedfc2408b96054bdac1d32;hb=51a4b1ad5f25ea29b94384e21c48152cce252b8b;hp=d5aabea141c4253a351c73e984738f18c28eaaa5;hpb=578ad6b1de34230e8fe64116b16380c1441ef9dd;p=ashd.git diff --git a/src/dirplex/dirplex.c b/src/dirplex/dirplex.c index d5aabea..358d0b1 100644 --- a/src/dirplex/dirplex.c +++ b/src/dirplex/dirplex.c @@ -280,7 +280,8 @@ static int checkpath(struct hthead *req, int fd, char *path, char *rest) if(!*el) { replrest(req, rest); handledir(req, fd, path); - return(1); + rv = 1; + goto out; } rv = checkentry(req, fd, path, rest, el);