Segfault Fixed(Assumption)
diff --git a/nlsr-sync-0.0/nlsr_sync.c b/nlsr-sync-0.0/nlsr_sync.c
index 4578f98..ee72d79 100644
--- a/nlsr-sync-0.0/nlsr_sync.c
+++ b/nlsr-sync-0.0/nlsr_sync.c
@@ -93,9 +93,10 @@
struct ccn_indexbuf cid1={0};
struct ccn_indexbuf *components1=&cid1;
res=ccn_name_split (content_name, components1);
+ if ( nlsr->debugging )
+ printf("Number of components in name = %d \n",res);
ccn_name_chop(content_name,components1,-3);
process_content_from_sync(content_name,components1);
- printf("Res = %d \n",res);
ccn_charbuf_destroy(&content_name);
return(0);