NLSR Api server finished
diff --git a/nlsr_npt.c b/nlsr_npt.c
index 9f690ff..81879b9 100644
--- a/nlsr_npt.c
+++ b/nlsr_npt.c
@@ -494,7 +494,10 @@
 
 	hashtb_end(e);
 
-	printf("\n");
+	if ( nlsr->debugging )
+		printf("\n");
+	if ( nlsr->detailed_logging )
+		writeLogg(__FILE__,__FUNCTION__,__LINE__,"\n");
 }
 
 void
@@ -1091,5 +1094,8 @@
 
 	hashtb_end(e);
 
-	printf("\n");
+	if ( nlsr->debugging )
+		printf("\n");
+	if ( nlsr->detailed_logging )
+		writeLogg(__FILE__,__FUNCTION__,__LINE__,"\n");
 }