X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;fp=src%2Fdirplex%2Fdirplex.c;h=358d0b1c67732c050bedfc2408b96054bdac1d32;hp=d5aabea141c4253a351c73e984738f18c28eaaa5;hb=240d9bcdcd247c14555d204e471b4fee095dd47a;hpb=578ad6b1de34230e8fe64116b16380c1441ef9dd 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);