diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-21 13:24:02 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-21 13:24:02 +0200 |
commit | 5bfe69d55cff8940fd3a84ff479e6e8308b164f4 (patch) | |
tree | e9e28b4c0ee0fa8b13aea3e602a6c239c7700f06 | |
parent | 12fd740c530106f4a74c5ff2c6ce6d0ea305ab70 (diff) | |
download | wydawca-5bfe69d55cff8940fd3a84ff479e6e8308b164f4.tar.gz wydawca-5bfe69d55cff8940fd3a84ff479e6e8308b164f4.tar.bz2 |
Change definition of archive_file to match this of rmsymlink_file
-rw-r--r-- | src/directive.c | 2 | ||||
-rw-r--r-- | src/diskio.c | 2 | ||||
-rw-r--r-- | src/wydawca.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/directive.c b/src/directive.c index 8f18f60..ec06f15 100644 --- a/src/directive.c +++ b/src/directive.c @@ -353,7 +353,7 @@ process_directives (struct file_triplet *trp, struct directory_pair *dpair) break; case archive_dir: - if (archive_file (trp, dpair, val, relative_dir)) + if (archive_file (trp, dpair, relative_dir, val)) return 1; break; diff --git a/src/diskio.c b/src/diskio.c index 2148abd..18f3960 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -549,7 +549,7 @@ make_signame (const char *file_name) */ int archive_file (struct file_triplet *trp, struct directory_pair *dpair, - const char *file_name, const char *reldir) + const char *reldir, const char *file_name) { int rc; char *signame; diff --git a/src/wydawca.h b/src/wydawca.h index 893e334..b94fc5c 100644 --- a/src/wydawca.h +++ b/src/wydawca.h @@ -127,7 +127,7 @@ struct archive_descr data necessary for releasing files from source to destination */ struct directory_pair { - char *url; + char *url; /* Download URL */ char *source_dir; /* Source directory */ char *dest_dir; /* Destination directory */ time_t file_sweep_time; /* Remove invalid/unprocessed files |