about summary refs log tree commit diff
path: root/misc/subr.h
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-10-15 15:12:28 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-10-15 15:12:28 +0000
commitcd8a3d5ecd87c3977dad347c9683b6f3cb37532f (patch)
tree0aab667408a7bc63da8d38f66a55275828154c71 /misc/subr.h
parentff3f222885ec1bbaab6801f7c545175fc3c19c33 (diff)
downloadbtpd-cd8a3d5ecd87c3977dad347c9683b6f3cb37532f.tar.gz
btpd-cd8a3d5ecd87c3977dad347c9683b6f3cb37532f.zip
Make mkdirs behave more like 'mkdir -p' and make btpd create the directory
hierarchy to a specified torrent content directory if neccessary.

Diffstat (limited to 'misc/subr.h')
-rw-r--r--misc/subr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/subr.h b/misc/subr.h
index fd9e002..25bca0d 100644
--- a/misc/subr.h
+++ b/misc/subr.h
@@ -10,7 +10,7 @@
 int set_nonblocking(int fd);
 int set_blocking(int fd);
 
-int mkdirs(char *path);
+int mkdirs(char *path, int mode);
 
 __attribute__((format (printf, 3, 0)))
 int vaopen(int *resfd, int flags, const char *fmt, va_list ap);