[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvas-cvs
Subject:    [Openvas-commits] r21994 - in trunk/openvas-manager: . src
From:       scm-commit () wald ! intevation ! org
Date:       2015-03-30 10:55:08
Message-ID: 20150330105508.DD4D09A212EC () wald ! intevation ! org
[Download RAW message or body]

Author: kroosec
Date: 2015-03-30 12:55:08 +0200 (Mon, 30 Mar 2015)
New Revision: 21994

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/manage.c
Log:
* src/manage.c (run_task): Don't send unused
ntp_keep_communication_alive preference.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2015-03-30 10:54:53 UTC (rev 21993)
+++ trunk/openvas-manager/ChangeLog	2015-03-30 10:55:08 UTC (rev 21994)
@@ -1,3 +1,8 @@
+2015-03-30  Hani Benhabiles <hani.benhabiles@greenbone.net>
+
+	* src/manage.c (run_task): Don't send unused
+	ntp_keep_communication_alive preference.
+
 2015-03-26  Matthew Mundell <matthew.mundell@greenbone.net>
 
 	* src/manage_sql.c (where_owned_user): Only include the global resources

Modified: trunk/openvas-manager/src/manage.c
===================================================================
--- trunk/openvas-manager/src/manage.c	2015-03-30 10:54:53 UTC (rev 21993)
+++ trunk/openvas-manager/src/manage.c	2015-03-30 10:55:08 UTC (rev 21994)
@@ -3503,17 +3503,6 @@
       return -10;
     }
 
-  /* Send some fixed preferences. */
-
-  if (send_to_server ("ntp_keep_communication_alive <|> yes\n"))
-    {
-      free (hosts);
-      set_task_run_status (task, run_status);
-      set_report_scan_run_status (current_report, run_status);
-      current_report = (report_t) 0;
-      return -10;
-    }
-
   /* Send the scanner and task preferences. */
 
   if (send_config_preferences (config, "SERVER_PREFS", NULL, NULL))

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic