From e6416978b33e6170c38ee8a29b2e302368d26eb9 Mon Sep 17 00:00:00 2001
From: afederici <ajf5@illinois.edu>
Date: Sat, 21 Nov 2020 21:27:32 -0600
Subject: [PATCH] bug fix

---
 dataset/w1   | 2 --
 src/Node.cpp | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/dataset/w1 b/dataset/w1
index 0783001..5b5e54e 100644
--- a/dataset/w1
+++ b/dataset/w1
@@ -4,6 +4,4 @@ car
 car
 car
 car
-apple
-dog
 the
diff --git a/src/Node.cpp b/src/Node.cpp
index 2fde9c6..6999e72 100644
--- a/src/Node.cpp
+++ b/src/Node.cpp
@@ -931,7 +931,7 @@ void Node::handleTcpMessage()
 							if (tempVec.size() != 2) continue; //temp keys in form tmp-key
 							string keyFile = inMsg[5] + "-" + tempVec[tempVec.size()-1];
 							cout << "[CHUNKACK] transform from: " << entry->d_name << " to " << keyFile << endl;
-							//TODO: add prefix here
+
 							Messages outMsg(DNS, nodeInformation.ip + "::" + to_string(hashRingPosition) + "::" + keyFile + "::" + entry->d_name + "::" + to_string(-1) + "::" + to_string(-1) + "::" + keyFile + "::" + "0");
 
 							//cout << "[PUT] Got localfilename: " << entry->d_name << " with sdfsfilename: " << target << endl;
-- 
GitLab