From 49f9218d330f5842fe24bce79267bd2c5b239df3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 16 Jun 2014 19:24:17 +0200 Subject: Improve uplink handling, add code to debug thread creation/destruction, change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... --- src/server/fileutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/fileutil.h') diff --git a/src/server/fileutil.h b/src/server/fileutil.h index 394338b..db60699 100644 --- a/src/server/fileutil.h +++ b/src/server/fileutil.h @@ -8,7 +8,7 @@ int file_isReadable(char *file); int file_isWritable(char *file); int mkdir_p(const char* path); int file_alloc(int fd, uint64_t offset, uint64_t size); -uint64_t file_freeDiskSpace(const char * const path); +int64_t file_freeDiskSpace(const char * const path); time_t file_lastModification(const char * const file); #endif /* FILEUTIL_H_ */ -- cgit v1.2.3-55-g7522