Removing ccn_run from write_data
diff --git a/nlsr-sync-0.0/nlsr_lsdb.c b/nlsr-sync-0.0/nlsr_lsdb.c
index 85180d6..51133cd 100755
--- a/nlsr-sync-0.0/nlsr_lsdb.c
+++ b/nlsr-sync-0.0/nlsr_lsdb.c
@@ -75,19 +75,7 @@
 void 
 make_adj_lsa_prefix_for_repo(char *key, char *orig_router, int ls_type, char *orig_time,char *slice_prefix)
 {
-	
-/*	char lst[2];
-	memset(lst,0,2);
-	sprintf(lst,"%d",ls_type);
 		
-	
-	memcpy(key+strlen(key),slice_prefix,strlen(slice_prefix));
-	memcpy(key+strlen(key),"/",1);
-	memcpy(key+strlen(key),lst,strlen(lst));
-	memcpy(key+strlen(key),"/",1);
-	memcpy(key+strlen(key),orig_time,strlen(orig_time));
-	memcpy(key+strlen(key),orig_router,strlen(orig_router));
-*/	
 	sprintf(key,"%s/%d/%s%s",slice_prefix,ls_type, orig_time, orig_router);	
 	printf("Key:%s\n",key);	
 }
diff --git a/nlsr-sync-0.0/nlsr_sync.c b/nlsr-sync-0.0/nlsr_sync.c
index 3635c0f..313b1b9 100644
--- a/nlsr-sync-0.0/nlsr_sync.c
+++ b/nlsr-sync-0.0/nlsr_sync.c
@@ -70,7 +70,9 @@
     free(hexL);
     free(hexR);
     ccn_charbuf_destroy(&uri);
-//--Doing ourthing from here
+
+
+	//--Doing ourthing from here
  	struct ccn_indexbuf cid={0};
 
     	struct ccn_indexbuf *components=&cid;
@@ -605,10 +607,10 @@
 	blockread=strlen(data);
 
 	if (blockread > 0) {
-		ccn_run(nlsr->ccn, 100);
+		//ccn_run(nlsr->ccn, 100);
 		res = ccn_seqw_write(w, data, blockread);	
         	while (res == -1) {
-            		ccn_run(nlsr->ccn, 100);
+            		//ccn_run(nlsr->ccn, 100);
 	       		res = ccn_seqw_write(w, data, blockread);
            	}
     	}