diff options
Diffstat (limited to 'src/diskio.c')
-rw-r--r-- | src/diskio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/diskio.c b/src/diskio.c index bab5cb8..751d684 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -411,6 +411,12 @@ replace_allowed_p (struct file_triplet *trp) return strcmp (val, "true") == 0; } +const char * +dir_get_path (struct spool *sp) +{ + return sp->source_dir; +} + /* Move the part FILE_ID of the triplet TRP between the directories in TRP->SPOOL. TRP->RELATIVE_DIR gives relative directory (i.e. the directory part of the file name) for backup purposes. |