From edcd891db80825338ccfa10b0f58b19a788ea266 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 24 May 2018 20:52:13 +1000 Subject: [PATCH] fix uuid --- utils/mnettoss/mnettoss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/mnettoss/mnettoss.c b/utils/mnettoss/mnettoss.c index 334bfea..b36f81e 100644 --- a/utils/mnettoss/mnettoss.c +++ b/utils/mnettoss/mnettoss.c @@ -427,9 +427,9 @@ int import(char *filename) { } } 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 { - 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); }