diff options
Diffstat (limited to 'src/cgg.c')
| -rw-r--r-- | src/cgg.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -108,6 +108,7 @@ main (int argc, char* argv[]) time_t time_start = time (NULL); time_t time_stop; gchar *s; + TPathInfo *path_info; /* * this initialize the library and check potential ABI mismatches @@ -169,7 +170,14 @@ main (int argc, char* argv[]) setup->verbose = verbose; setup->update_mode = update; setup->override_nofullsize = fullsize; - build_tree (setup, source_dir, dst_dir, NULL, -1, jobs); + + path_info = g_malloc0 (sizeof (TPathInfo)); + path_info->source_root = g_strdup (source_dir); + path_info->src_dir = g_strdup (source_dir); + path_info->dest_root = g_strdup (dst_dir); + path_info->dest_dir = g_strdup (dst_dir); + build_tree (setup, path_info, NULL, -1, jobs); + free_path_info (path_info); /* Write feeds */ if (news_feed) { |
