[Openvas-commits] r6269 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Dec 29 13:08:07 CET 2009


Author: mattm
Date: 2009-12-29 13:08:05 +0100 (Tue, 29 Dec 2009)
New Revision: 6269

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/ovas-mngr-comm.c
Log:
	* src/ovas-mngr-comm.c (sendn_to_server, write_string_to_server)
	(write_to_server_buffer): Add actual data to tracing.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-12-28 14:40:07 UTC (rev 6268)
+++ trunk/openvas-manager/ChangeLog	2009-12-29 12:08:05 UTC (rev 6269)
@@ -1,5 +1,10 @@
 2009-12-28  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/ovas-mngr-comm.c (sendn_to_server, write_string_to_server)
+	(write_to_server_buffer): Add actual data to tracing.
+
+2009-12-28  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* src/tasks_sql.h (lsc_credential_iterator_in_use): Correct column.
 	(init_lsc_credential_target_iterator)
 	(lsc_credential_target_iterator_name): New functions.

Modified: trunk/openvas-manager/src/ovas-mngr-comm.c
===================================================================
--- trunk/openvas-manager/src/ovas-mngr-comm.c	2009-12-28 14:40:07 UTC (rev 6268)
+++ trunk/openvas-manager/src/ovas-mngr-comm.c	2009-12-29 12:08:05 UTC (rev 6269)
@@ -137,7 +137,8 @@
     }
 
   memmove (to_server + to_server_end, msg, n);
-  tracef ("=> server  %zi bytes\n", n);
+  tracef ("s> server  (string) %.*s\n", n, to_server + to_server_end);
+  tracef ("-> server  %zi bytes\n", n);
   to_server_end += n;
 
   return 0;
@@ -216,6 +217,7 @@
 #if LOG
       if (count) logf ("=> server %.*s\n", count, point);
 #endif
+      tracef ("s> server  (string) %.*s\n", count, point);
       point += count;
       tracef ("=> server  (string) %zi bytes\n", count);
     }
@@ -261,6 +263,7 @@
 #if LOG
       if (count) logf ("=> server %.*s\n", count, to_server + to_server_start);
 #endif
+      tracef ("s> server  %.*s\n", count, to_server + to_server_start);
       to_server_start += count;
       tracef ("=> server  %zi bytes\n", count);
     }



More information about the Openvas-commits mailing list