Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
strcpy(term, "0");
dict_scan(dict, term, &before, &after, 0, dump_file_dict_func);
}
strcpy(term, "0");
dict_scan(dict, term, &before, &after, 0, dump_file_dict_func);
}
sprintf(tmppath, "%s%s", base, dst->path);
zebra_extract_file(zh, &dst->sysno, tmppath, action_delete);
strcpy(tmppath, dst->path);
sprintf(tmppath, "%s%s", base, dst->path);
zebra_extract_file(zh, &dst->sysno, tmppath, action_delete);
strcpy(tmppath, dst->path);
static void file_update_r(ZebraHandle zh,
struct dirs_info *di, struct dirs_entry *dst,
static void file_update_r(ZebraHandle zh,
struct dirs_info *di, struct dirs_entry *dst,
{
strcpy(src + src_len, e_src[i_src].name);
sprintf(tmppath, "%s%s", base, src);
{
strcpy(src + src_len, e_src[i_src].name);
sprintf(tmppath, "%s%s", base, src);
{
case dirs_file:
if (zebra_extract_file(zh, &sysno, tmppath, action_update) == ZEBRA_OK)
{
case dirs_file:
if (zebra_extract_file(zh, &sysno, tmppath, action_update) == ZEBRA_OK)
- dirs_add(di, src, sysno, e_src[i_src].mtime);
+ dirs_add(di, src, sysno, e_src[i_src].mtime);
break;
case dirs_dir:
file_update_r(zh, di, dst, base, src, level+1);
break;
case dirs_dir:
file_update_r(zh, di, dst, base, src, level+1);