[Openvas-commits] r5390 - in trunk/openvas-libraries: . misc nasl
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Oct 6 11:22:01 CEST 2009
Author: felix
Date: 2009-10-06 11:21:55 +0200 (Tue, 06 Oct 2009)
New Revision: 5390
Modified:
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/misc/store.c
trunk/openvas-libraries/nasl/nasl_scanner_glue.c
Log:
* misc/store.c, nasl/nasl_scanner_glue.c: Replaced openvasd by
openvassd in documentation, minor cosmetics.
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2009-10-06 08:50:01 UTC (rev 5389)
+++ trunk/openvas-libraries/ChangeLog 2009-10-06 09:21:55 UTC (rev 5390)
@@ -1,3 +1,8 @@
+2009-10-06 Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
+ * misc/store.c, nasl/nasl_scanner_glue.c: Replaced openvasd by
+ openvassd in documentation, minor cosmetics.
+
2009-10-06 Michael Wiegand <michael.wiegand at intevation.de>
* Makefile: Expose $localstatedir and $sysconfdir set during configure
Modified: trunk/openvas-libraries/misc/store.c
===================================================================
--- trunk/openvas-libraries/misc/store.c 2009-10-06 08:50:01 UTC (rev 5389)
+++ trunk/openvas-libraries/misc/store.c 2009-10-06 09:21:55 UTC (rev 5390)
@@ -43,7 +43,7 @@
* store returns NULL (cache is either outdated, contains error or an error
* occurred).
*
- * The store is updated at each openvasd start up. There the plugin loader
+ * The store is updated at each openvassd start up. There the plugin loader
* iterates over plugin files and tries to retrieve the cached version.
* If there is no cached version (or @ref store_load_plugin returns Null for
* another reason, e.g.because the script file seems to have been modified in
@@ -133,7 +133,7 @@
}
str = t+1;
}
-
+
while(str[0]==' ')str++;
if(str[0] != '\0')
arg_add_value(ret, str, ARG_INT, 0, (void*)1);
Modified: trunk/openvas-libraries/nasl/nasl_scanner_glue.c
===================================================================
--- trunk/openvas-libraries/nasl/nasl_scanner_glue.c 2009-10-06 08:50:01 UTC (rev 5389)
+++ trunk/openvas-libraries/nasl/nasl_scanner_glue.c 2009-10-06 09:21:55 UTC (rev 5390)
@@ -20,7 +20,7 @@
/**
* @file
* This file contains all the functions that make the "glue" between
- * as NASL script and openvasd.
+ * as NASL script and openvassd.
* (script_*(), *kb*(), scanner_*())
*/
@@ -830,18 +830,19 @@
return FAKE_CELL;
}
-tree_cell * set_kb_item(lex_ctxt * lexic)
+tree_cell *
+set_kb_item (lex_ctxt * lexic)
{
struct arglist * script_infos = lexic->script_infos;
char * name = get_str_local_var_by_name(lexic, "name");
int type = get_local_var_type_by_name(lexic, "value");
-
+
if( name == NULL )
{
nasl_perror(lexic, "Syntax error with set_kb_item() [null name]\n", name);
return FAKE_CELL;
}
-
+
if (! lexic->authenticated &&
strncmp(name, SECRET_KB_PREFIX, sizeof(SECRET_KB_PREFIX) - 1) == 0)
{
@@ -879,11 +880,11 @@
/**
- * Function is used when the script wants to report a problem back to openvasd.
+ * Function is used when the script wants to report a problem back to openvassd.
*/
typedef void(*proto_post_something_t)(struct arglist*, int, const char*, const char *);
/**
- * Function is used when the script wants to report a problem back to openvasd.
+ * Function is used when the script wants to report a problem back to openvassd.
*/
typedef void(*post_something_t)(struct arglist*, int, const char*);
More information about the Openvas-commits
mailing list