Reverting back Final
diff --git a/nlsr-sync-0.0/nlsr_sync.c b/nlsr-sync-0.0/nlsr_sync.c
index 52b74d5..4578f98 100644
--- a/nlsr-sync-0.0/nlsr_sync.c
+++ b/nlsr-sync-0.0/nlsr_sync.c
@@ -93,11 +93,10 @@
struct ccn_indexbuf cid1={0};
struct ccn_indexbuf *components1=&cid1;
res=ccn_name_split (content_name, components1);
-
+ ccn_name_chop(content_name,components1,-3);
+ process_content_from_sync(content_name,components1);
printf("Res = %d \n",res);
-
ccn_charbuf_destroy(&content_name);
- ccn_indexbuf_destroy(&components1);
return(0);
}