summaryrefslogtreecommitdiffabout
path: root/src/diskio.c
Unidiff
Diffstat (limited to 'src/diskio.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/diskio.c6
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
@@ -408,12 +408,18 @@ replace_allowed_p (struct file_triplet *trp)
408 408
409 if (directive_get_value (trp, "replace", &val)) 409 if (directive_get_value (trp, "replace", &val))
410 return 1; 410 return 1;
411 return strcmp (val, "true") == 0; 411 return strcmp (val, "true") == 0;
412} 412}
413 413
414const char *
415dir_get_path (struct spool *sp)
416{
417 return sp->source_dir;
418}
419
414/* Move the part FILE_ID of the triplet TRP between the directories in 420/* Move the part FILE_ID of the triplet TRP between the directories in
415 TRP->SPOOL. TRP->RELATIVE_DIR gives relative directory (i.e. the 421 TRP->SPOOL. TRP->RELATIVE_DIR gives relative directory (i.e. the
416 directory part of the file name) for backup purposes. 422 directory part of the file name) for backup purposes.
417 423
418 Do nothing if dry_run_mode is set. */ 424 Do nothing if dry_run_mode is set. */
419int 425int

Return to:

Send suggestions and report system problems to the System administrator.