~ubuntu-branches/ubuntu/karmic/openvas-server/karmic

« back to all changes in this revision

Viewing changes to openvasd/pluginlaunch.c

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernandez-Sanguino Pen~a
  • Date: 2009-01-02 01:38:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090102013847-74xy2uo1e3hovqjo
Tags: 2.0.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* OpenVAS
2
 
* $Id: pluginlaunch.c 140 2006-05-31 15:24:25Z tarik $
 
2
* $Id: pluginlaunch.c 1318 2008-09-10 09:15:36Z mwiegand $
3
3
* Description: Manages the launching of plugins within processes.
4
4
*
5
5
* Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
430
430
 processes[p].sched   = sched;
431
431
 processes[p].name    = plugin->arglist->name;
432
432
 processes[p].launch_status = plug_get_launch(plugin->arglist->value);
433
 
 processes[p].timeout = preferences_plugin_timeout(preferences, plug_get_id(plugin->arglist->value));
 
433
 processes[p].timeout = preferences_plugin_timeout(preferences, plug_get_oid(plugin->arglist->value));
434
434
 if( processes[p].timeout == 0)
435
435
   processes[p].timeout = plugin->timeout;
436
436