[Openvas-commits] r5830 - in trunk/openvas-client: . include openvas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 10 10:03:54 CET 2009


Author: felix
Date: 2009-11-10 10:03:52 +0100 (Tue, 10 Nov 2009)
New Revision: 5830

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/include/ntcompat.h
   trunk/openvas-client/openvas/latex_output.c
Log:
Resolved typos lead to by Ryan Schmidt.

* include/ntcompat.h, openvas/latex_output.c: Replaced recommand by
recommend, added todo about duplicate code.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-11-10 08:43:09 UTC (rev 5829)
+++ trunk/openvas-client/ChangeLog	2009-11-10 09:03:52 UTC (rev 5830)
@@ -1,3 +1,10 @@
+2009-11-10  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
+	Resolved typos lead to by Ryan Schmidt.
+
+	* include/ntcompat.h, openvas/latex_output.c: Replaced recommand by
+	recommend, added todo about duplicate code.
+
 2009-11-09  Michael Wiegand <michael.wiegand at intevation.de>
 
 	Post-release version bump.

Modified: trunk/openvas-client/include/ntcompat.h
===================================================================
--- trunk/openvas-client/include/ntcompat.h	2009-11-10 08:43:09 UTC (rev 5829)
+++ trunk/openvas-client/include/ntcompat.h	2009-11-10 09:03:52 UTC (rev 5830)
@@ -61,10 +61,11 @@
 #define _EXIT(x) EXIT(x)
 #define DO_EXIT(x) exit(x)
 
+/** @todo Remove duplicates (openvas-scanner/include/threadcompat.h) */
 #ifdef HAVE_PTHREAD_CANCEL
 #define TERMINATE_THREAD(x) {pthread_cancel(x->thread);pthread_detach(x->thread);}
 #else
-#warning "Your system lacks pthread_cancel() ! Using the pthreads is not recommanded"
+#warning "Your system lacks pthread_cancel() ! Using the pthreads is not recommended"
 #define TERMINATE_THREAD(x)
 #endif /* HAVE_PTHREAD_CANCEL */
 #endif /* USE_PTHREADS */

Modified: trunk/openvas-client/openvas/latex_output.c
===================================================================
--- trunk/openvas-client/openvas/latex_output.c	2009-11-10 08:43:09 UTC (rev 5829)
+++ trunk/openvas-client/openvas/latex_output.c	2009-11-10 09:03:52 UTC (rev 5830)
@@ -151,7 +151,7 @@
  fprintf(f, "On the overall, your network seems to be pretty safe.\n");
  fprintf(f, "However, \\textbf{the result of a security scanner can not garantee your ");
  fprintf(f, "complete safety !}. Security Scanners can not test things such as home made ");
- fprintf(f, "CGIs, so if you want the garantee that you network is secure, we recommand ");
+ fprintf(f, "CGIs, so if you want the garantee that you network is secure, we recommend ");
  fprintf(f, "that you check these things manually.\\\\\n");
  fprintf(f, "However, your network was given the highest mark that OpenVAS can give, ");
  fprintf(f, "that is a A (worst being E). Congratulations !");
@@ -175,7 +175,7 @@
  fprintf(f, "although we know it is not always possible.\\\\\n");
  if((num_of_hosts > 1)&&most)
  {
-  fprintf(f, "We recommand that you take a closer look at %s, as it is the host ",
+  fprintf(f, "We recommend that you take a closer look at %s, as it is the host ",
   		most->name);
   fprintf(f, "the most affected by these warnings.\\\\\n");
  }
@@ -213,7 +213,7 @@
  fprintf(f, "although we know it is not always possible.\\\\\n");
  if((num_of_hosts > 1)&&most)
  {
-  fprintf(f, "We recommand that you take a closer look at \\verb+%s+, as it is the host ",
+  fprintf(f, "We recommend that you take a closer look at \\verb+%s+, as it is the host ",
   		most->name);
   fprintf(f, "the most affected by these warnings.\\\\\n");
  }
@@ -248,7 +248,7 @@
  fprintf(f, "although we know it is not always possible.\\\\\n");
  if((num_of_hosts > 1)&&most)
  {
-  fprintf(f, "We recommand that you take a closer look at \\verb+%s+, as it is the host ",
+  fprintf(f, "We recommend that you take a closer look at \\verb+%s+, as it is the host ",
   		most->name);
   fprintf(f, "that is the most likely to be the entry point of any cracker.\n");
  }
@@ -284,7 +284,7 @@
  fprintf(f, "although we know it is not always possible.\\\\\n");
  if((num_of_hosts > 1)&&most)
  {
-  fprintf(f, "We recommand that you take a closer look at \\verb+%s+, as it is the host ",
+  fprintf(f, "We recommend that you take a closer look at \\verb+%s+, as it is the host ",
   		most->name);
   fprintf(f, "that is the most likely to be the entry point of any cracker.\n");
  }
@@ -461,12 +461,12 @@
  fprintf(f, "the practices of the users of the network, the home-made ");
  fprintf(f, "services and CGIs, and so on... So, you should not have ");
  fprintf(f, "a false sense of security now that the tests are done. ");
- fprintf(f, "We recommand that you monitor actively what happens on ");
+ fprintf(f, "We recommend that you monitor actively what happens on ");
  fprintf(f, "your firewall, and that you use some tools such as ");
  fprintf(f, "tripwire to restore your servers more easily in the case ");
  fprintf(f, "of an intrusion.\\\\\n");
  fprintf(f, "In addition to that, you must know that new security holes ");
- fprintf(f, "are found each week. This is the reason why we recommand that you visit ");
+ fprintf(f, "are found each week. This is the reason why we recommend that you visit ");
  fprintf(f, "\\verb+http://www.osvdb.org/+ and \\verb+http://www.openvas.org/+ for an ");
  fprintf(f, "update of security vulnerabilites as they are published ");
  fprintf(f, "on public mailing lists such as BugTraq. (see ");



More information about the Openvas-commits mailing list