Remove Printf
diff --git a/nlsr_ndn.c b/nlsr_ndn.c
index b43a57d..46e493a 100644
--- a/nlsr_ndn.c
+++ b/nlsr_ndn.c
@@ -516,10 +516,12 @@
 		int res_verify=verify_key(info->content_ccnb,info->pco,0);
 
 		if ( res_verify != 0 ){
-			printf("Error in verfiying keys !! :( \n");
+			if ( nlsr->debugging )
+				printf("Error in verfiying keys !! :( \n");
 		}
 		else{
-			printf("Key verification is successful :)\n");
+			if ( nlsr->debugging )
+				printf("Key verification is successful :)\n");
 			update_adjacent_timed_out_zero_to_adl(nbr);	
 			update_adjacent_status_to_adl(nbr,NBR_ACTIVE);
 			print_adjacent_from_adl();
diff --git a/nlsr_sync.c b/nlsr_sync.c
index 6555612..54eb4e3 100644
--- a/nlsr_sync.c
+++ b/nlsr_sync.c
@@ -266,7 +266,7 @@
 					ccn_content_get_value(ptr_in, length_in, &pcobuf1, 
 															&ptr_in, &length_in);
 					*content_data = (unsigned char *) calloc(length_in, 
-																sizeof(char));
+																sizeof(char *));
 					memcpy (*content_data, ptr_in, length_in);
 					ret=0;
 				}