Author: kroosec
Date: 2016-10-12 10:25:22 +0200 (Wed, 12 Oct 2016)
New Revision: 26373

Modified:
   branches/openvas-scanner-5.0/ChangeLog
   branches/openvas-scanner-5.0/src/pluginscheduler.c
Log:
* src/pluginscheduler.c (plugin_next_unrun_dependency): Get oid from
plugin arglist.

Modified: branches/openvas-scanner-5.0/ChangeLog
===================================================================
--- branches/openvas-scanner-5.0/ChangeLog      2016-10-12 08:19:18 UTC (rev 
26372)
+++ branches/openvas-scanner-5.0/ChangeLog      2016-10-12 08:25:22 UTC (rev 
26373)
@@ -1,3 +1,8 @@
+2016-10-12  Hani Benhabiles  <hani.benhabi...@greenbone.net>
+
+       * src/pluginscheduler.c (plugin_next_unrun_dependency): Get oid from
+       plugin arglist.
+
 2016-10-11  Hani Benhabiles  <hani.benhabi...@greenbone.net>
 
        Backport r26363.

Modified: branches/openvas-scanner-5.0/src/pluginscheduler.c
===================================================================
--- branches/openvas-scanner-5.0/src/pluginscheduler.c  2016-10-12 08:19:18 UTC 
(rev 26372)
+++ branches/openvas-scanner-5.0/src/pluginscheduler.c  2016-10-12 08:25:22 UTC 
(rev 26373)
@@ -348,7 +348,7 @@
   if (calls > 100)
     {
       log_write ("Possible dependency cycle detected %s",
-                 dependencies_ptr[0]->plugin->oid);
+                 dependencies_ptr[0]->plugin->arglist->name);
       return NULL;
     }
 

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits

Reply via email to