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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 13 18:19:57 CET 2009


Author: mattm
Date: 2009-03-13 18:19:56 +0100 (Fri, 13 Mar 2009)
New Revision: 2769

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/ompd.c
Log:
Correct typo and formatting.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-03-13 17:13:09 UTC (rev 2768)
+++ trunk/openvas-manager/ChangeLog	2009-03-13 17:19:56 UTC (rev 2769)
@@ -1,5 +1,9 @@
 2009-03-13  Matthew Mundell <matt at mundell.ukfsn.org>
 
+	* ompd.c (serve_omp): Correct typo and formatting.
+
+2009-03-13  Matthew Mundell <matt at mundell.ukfsn.org>
+
 	* manage.c (stop_task, start_task): Correct conditions of running checks.
 
 2009-03-13  Matthew Mundell <matt at mundell.ukfsn.org>

Modified: trunk/openvas-manager/src/ompd.c
===================================================================
--- trunk/openvas-manager/src/ompd.c	2009-03-13 17:13:09 UTC (rev 2768)
+++ trunk/openvas-manager/src/ompd.c	2009-03-13 17:19:56 UTC (rev 2769)
@@ -404,7 +404,7 @@
    * On reading from an fd, immediately try react to the input.  On reading
    * from the client call process_omp_client_input, which parses OMP
    * commands and may write to to_server and to_client.  On reading from
-   * the server call process_otp_server_input, which updates information
+   * the server calls process_otp_server_input, which updates information
    * kept about the server.
    *
    * There are a few complications here
@@ -446,9 +446,9 @@
           if (lastfds & FD_CLIENT_READ) tracef ("   client read off\n");
         }
       if ((server_init_state == SERVER_INIT_DONE
-              || server_init_state == SERVER_INIT_GOT_VERSION
-              || server_init_state == SERVER_INIT_SENT_USER
-              || server_init_state == SERVER_INIT_SENT_VERSION)
+           || server_init_state == SERVER_INIT_GOT_VERSION
+           || server_init_state == SERVER_INIT_SENT_USER
+           || server_init_state == SERVER_INIT_SENT_VERSION)
           && from_server_end < from_buffer_size)
         {
           FD_SET (server_socket, &readfds);



More information about the Openvas-commits mailing list