Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: commits
NessusClient/nessus preferences.c,1.5,1.6 context.c,1.11,1.12
 

Index | Next | Previous | View Flat


bh at nessus

Apr 28, 2006, 3:46 AM


Views: 647
Permalink
NessusClient/nessus preferences.c,1.5,1.6 context.c,1.11,1.12

Update of /usr/local/cvs/NessusClient/nessus
In directory raccoon.nessus.org:/tmp/cvs-serv86265/nessus

Modified Files:
preferences.c context.c
Log Message:
Optionally load the plugin cache for scopes when the user first clicks
on the scope in the scope tree


Index: preferences.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/preferences.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- preferences.c 27 Apr 2006 14:09:11 -0000 1.5
+++ preferences.c 28 Apr 2006 10:46:36 -0000 1.6
@@ -718,6 +718,8 @@
return (void *)1;
else if(!strcmp(name, "reports_use_plugin_cache"))
return (void *)1;
+ else if(!strcmp(name, "scopes_load_plugin_cache_immediately"))
+ return (void *)1;
else
return NULL;
}

Index: context.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/context.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- context.c 27 Apr 2006 20:16:47 -0000 1.11
+++ context.c 28 Apr 2006 10:46:37 -0000 1.12
@@ -601,6 +601,13 @@
fill_plugin_prefs(context);
context_reset_plugin_tree(context);
}
+ else if (context->type == CONTEXT_SCOPE && context->plugins == NULL
+ && prefs_get_int(Global, "scopes_load_plugin_cache_immediately"))
+ {
+ plugin_cache_read(context);
+ fill_plugin_prefs(context);
+ context_reset_plugin_tree(context);
+ }
}



_______________________________________________
Nessus-cvs mailing list
Nessus-cvs [at] list
http://mail.nessus.org/mailman/listinfo/nessus-cvs

Subject User Time
NessusClient/nessus preferences.c,1.5,1.6 context.c,1.11,1.12 bh at nessus Apr 28, 2006, 3:46 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.