Fixed dodir bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 12 Apr 2014 15:43:05 +0000 (17:43 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 12 Apr 2014 15:43:05 +0000 (17:43 +0200)
statdbput.c

index 061d5ee..3f5ea08 100644 (file)
@@ -158,7 +158,7 @@ static int dodir(char *path, char *ctype)
     }
     buffree(fnbuf);
     closedir(dir);
-    return(0);
+    return(rv);
 }
 
 static void usage(FILE *out)