aboutsummaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 9a2816c..e5053bd 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -42,7 +42,7 @@ copy_recursively(const char *fpath,
const char *path = fpath + strlen(msg->base_directory) + 1;
char *output_path = NULL;
- asprintf(&output_path, "%s/%s", OUTPUT, path);
+ asprintf(&output_path, "%s/%s", msg->output_directory, path);
if (typeflag == FTW_D)
goto exit;