Putting Adj LSA to Repo
diff --git a/nlsr-sync-0.0/nlsr_lsdb.c b/nlsr-sync-0.0/nlsr_lsdb.c
index a2995d3..15d270e 100755
--- a/nlsr-sync-0.0/nlsr_lsdb.c
+++ b/nlsr-sync-0.0/nlsr_lsdb.c
@@ -676,13 +676,14 @@
 			char *repo_con_name=(char *)malloc(strlen(nlsr->slice_prefix)+strlen(adj_lsa->header->orig_time)+strlen(adj_lsa->header->orig_router->name) + strlen(lst) + 5);
 			memset(repo_con_name, 0, strlen(nlsr->slice_prefix)+strlen(adj_lsa->header->orig_time)+strlen(adj_lsa->header->orig_router->name) + strlen(lst) + 5);	
 			make_adj_lsa_prefix_for_repo(repo_con_name, adj_lsa->header->orig_router->name,LS_TYPE_ADJ,adj_lsa->header->orig_time,nlsr->slice_prefix);
-
-			printf("Adj LSA Repo Key: %s \n",repo_con_name);
+			if ( nlsr->debugging )
+				printf("Adj LSA Repo Key: %s \n",repo_con_name);
 			
 			char *key=(char *)malloc(adj_lsa->header->orig_router->length+2+2);
 			memset(key,0,adj_lsa->header->orig_router->length+2);
 			make_adj_lsa_key(key,adj_lsa);
-			printf("Adj LSA: %s \n",key);
+			if ( nlsr->debugging )
+				printf("Adj LSA: %s \n",key);
 			struct name_prefix *lsaid=(struct name_prefix *)malloc(sizeof(struct name_prefix));
 			lsaid->name=(char *)malloc(strlen(key)+1);
 			memset(lsaid->name, 0, strlen(key)+1);
@@ -690,11 +691,8 @@
 			lsaid->length=strlen(key)+1;
 
 		
-			//write_adj_lsa_to_repo(repo_key, lsaid);
-			
-			//free(key);
-			//free(repo_con_name);
-
+			write_adj_lsa_to_repo(repo_con_name, lsaid);
+		
 			free(adj_lsa->header->orig_router->name);
 			free(adj_lsa->header->orig_router);
 			free(adj_lsa->header->orig_time);