[Openvas-commits] r5431 - in trunk/openvas-client: . openvas
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 7 15:52:36 CEST 2009
Author: mattm
Date: 2009-10-07 15:52:30 +0200 (Wed, 07 Oct 2009)
New Revision: 5431
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/openvas/context.c
Log:
* openvas/context.c (context_new, context_add) [DISABLE_OMP]: Name new
scopes "unnamed task".
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2009-10-07 13:42:46 UTC (rev 5430)
+++ trunk/openvas-client/ChangeLog 2009-10-07 13:52:30 UTC (rev 5431)
@@ -1,3 +1,8 @@
+2009-10-07 Matthew Mundell <matthew.mundell at intevation.de>
+
+ * openvas/context.c (context_new, context_add) [DISABLE_OMP]: Name new
+ scopes "unnamed task".
+
2009-10-07 Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
* openvas/openvas-client.c (connect_to_scanner): Changed
@@ -12,7 +17,7 @@
openvas/pdf_output.c (arglist_to_pdf),
openvas/preferences.c (prefs_get_default),
openvas/prefs_dialog/prefs_scope_tree.c (create_omp_scope):
- Renamed key "nessus_dir" to "openvas_dir".
+ Renamed key "nessus_dir" to "openvas_dir".
2009-10-07 Matthew Mundell <matthew.mundell at intevation.de>
Modified: trunk/openvas-client/openvas/context.c
===================================================================
--- trunk/openvas-client/openvas/context.c 2009-10-07 13:42:46 UTC (rev 5430)
+++ trunk/openvas-client/openvas/context.c 2009-10-07 13:52:30 UTC (rev 5431)
@@ -826,7 +826,11 @@
name = _("unnamed task");
break;
case CONTEXT_SCOPE:
+#ifndef DISABLE_OTP
name = _("unnamed scope");
+#else
+ name = _("unnamed task");
+#endif
break;
default:
show_error(_("context_new(): No name provided for context"));
@@ -1027,7 +1031,11 @@
name = _("unnamed task");
break;
case CONTEXT_SCOPE:
+#ifndef DISABLE_OTP
name = _("unnamed scope");
+#else
+ name = _("unnamed task");
+#endif
break;
default:
show_error(_("context_new(): No name provided for context"));
More information about the Openvas-commits
mailing list