This commit is contained in:
Andrew Pamment 2018-05-24 20:52:13 +10:00
parent b53d824256
commit edcd891db8

View File

@ -427,9 +427,9 @@ int import(char *filename) {
} }
} }
if (imhub) { if (imhub) {
snprintf(buffer2, PATH_MAX, "%s/%d/%d-%s", baseoutdir, areas[areaid]->links[i], areas[areaid]->links[i], filename); snprintf(buffer2, PATH_MAX, "%s/%d/%d-%s", baseoutdir, areas[areaid]->links[i], areas[areaid]->links[i], uuid);
} else { } else {
snprintf(buffer2, PATH_MAX, "%s/%d/%d-%s", baseoutdir, hubnode, areas[areaid]->links[i], filename); snprintf(buffer2, PATH_MAX, "%s/%d/%d-%s", baseoutdir, hubnode, areas[areaid]->links[i], uuid);
} }
copy_file(buffer, buffer2); copy_file(buffer, buffer2);
} }