Fixing some bugs causing segment faults, and update ChronoSync. Now it should work, but we need to run more tests to see if there are some other bugs.
Change-Id: Ib06603cb7262a7f38abe42be94da685f18eab65d
diff --git a/src/chronos-invitation.cpp b/src/chronos-invitation.cpp
index 28d36e1..fb9d918 100644
--- a/src/chronos-invitation.cpp
+++ b/src/chronos-invitation.cpp
@@ -22,7 +22,7 @@
ChronosInvitation::ChronosInvitation(const ndn::Name& originalInterestName)
: m_interestName(originalInterestName)
{
- Name interestName = originalInterestName.getPrefix(-1);
+ Name interestName = originalInterestName;
if(interestName.get(0).toEscapedString() != string("ndn")
|| interestName.get(1).toEscapedString() != string("broadcast")
|| interestName.get(2).toEscapedString() != string("chronos")