Hi
I stumbled over a 
#ifdef ENABLE_PLUGIN_SERVER
    if ( recompile_all != 0 ) exit(0); /* Done */
#endif
in openvasd.c. I could not find ENABLE_PLUGIN_SERVER to be defined somewhere 
(neither in Make targets). Since recompile_all is not defined somewhere 
either, defining ENABLE_PLUGIN_SERVER would break the building process for 
the server anyway.
From the speaking name of the #define I guess it was used to build a 
(nessus?-) server just serving plugins but not executing them. Since 
OpenVAS-Server does not offer this split personality but introduced feeds, I 
suspect of these "#ifdef ENAB... #endif"  parts of code (~700 lines in 
preparse.c, ~30 in exec.c, 1 in openvasd.c) can be removed, right?
-- felix

-- 
Felix Wolfsteller |  ++49-541-335 08 3451  |  http://www.intevation.de/
PGP Key: 39DE0100
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to