From cd8a3d5ecd87c3977dad347c9683b6f3cb37532f Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sun, 15 Oct 2006 15:12:28 +0000 Subject: Make mkdirs behave more like 'mkdir -p' and make btpd create the directory hierarchy to a specified torrent content directory if neccessary. --- misc/subr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/subr.h') 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); -- cgit 1.4.1