diff options
Diffstat (limited to '')
| -rw-r--r-- | data.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -14,7 +14,7 @@ | |||
| 14 | #include <sys/file.h> | 14 | #include <sys/file.h> |
| 15 | #include <fcntl.h> | 15 | #include <fcntl.h> |
| 16 | 16 | ||
| 17 | double db_layout = 2.1; | 17 | double db_layout = 2.2; |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | int db_upgrade(d_char **error); | 20 | int db_upgrade(d_char **error); |
| @@ -195,7 +195,7 @@ double mtime(char *fn) | |||
| 195 | 195 | ||
| 196 | d_char *_object_fn_by_md5(const char *md5) | 196 | d_char *_object_fn_by_md5(const char *md5) |
| 197 | { | 197 | { |
| 198 | xs *bfn = xs_fmt("%s/object/%c%c/", srv_basedir, md5[0], md5[1]); | 198 | xs *bfn = xs_fmt("%s/object/%c%c", srv_basedir, md5[0], md5[1]); |
| 199 | 199 | ||
| 200 | mkdir(bfn, 0755); | 200 | mkdir(bfn, 0755); |
| 201 | 201 | ||