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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 7 15:57:35 CEST 2009


Author: mattm
Date: 2009-10-07 15:57:34 +0200 (Wed, 07 Oct 2009)
New Revision: 5432

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/openvas/cli.c
Log:
	* openvas/cli.c: Flush trailing whitespace.

Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-10-07 13:52:30 UTC (rev 5431)
+++ trunk/openvas-client/ChangeLog	2009-10-07 13:57:34 UTC (rev 5432)
@@ -1,5 +1,9 @@
 2009-10-07  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* openvas/cli.c: Flush trailing whitespace.
+
+2009-10-07  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* openvas/context.c (context_new, context_add) [DISABLE_OMP]: Name new
 	scopes "unnamed task".
 

Modified: trunk/openvas-client/openvas/cli.c
===================================================================
--- trunk/openvas-client/openvas/cli.c	2009-10-07 13:52:30 UTC (rev 5431)
+++ trunk/openvas-client/openvas/cli.c	2009-10-07 13:57:34 UTC (rev 5432)
@@ -15,8 +15,8 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * cli.c - Command Line Interface manager
- * 
- * modified by Axel Nennker <axel at nennker.de> 20020418 
+ *
+ * modified by Axel Nennker <axel at nennker.de> 20020418
  *	do not need gtk here
  *	removed gcc -Wall complaints, NULL pointer checks
  */
@@ -95,11 +95,11 @@
 
  signal(SIGTERM, cli_sigterm);
  g_cli = cli;
- cli->backend = backend; 
+ cli->backend = backend;
 
   while(!finished)
    {
-       /* I don't think buf[0] == 0 is a case that will happen, but just 
+       /* I don't think buf[0] == 0 is a case that will happen, but just
         * to be safe, as it was the previous semantics
         */
     if(network_gets(Context->socket, buf, sizeof(buf) - 1) < 0 || buf[0] == '\0')
@@ -200,7 +200,7 @@
 }
 
 
-void 
+void
 cli_args_target (struct cli_args * args, char * target)
 {
   if (args->target)
@@ -230,7 +230,7 @@
       ftype = "nbe";
     }
   }
-  else 
+  else
    ftype++;
 
  args->extension = strdup(ftype);
@@ -260,7 +260,7 @@
  * @see arglist_to_latex
  * @see arglist_to_html
  * @see arglist_to_html_graph
- * @see arglist_to_text 
+ * @see arglist_to_text
  */
 void
 cli_args_output (struct cli_args * args, char * type)
@@ -429,11 +429,11 @@
  printf("'%s', ", m);
  efree(&m);
 
- m = sql_addslashes(p->family); 
+ m = sql_addslashes(p->family);
  printf("'%s', ", m);
  efree(&m);
 
- m = sql_addslashes(p->category); 
+ m = sql_addslashes(p->category);
  printf("'%s', ", m);
  efree(&m);
 
@@ -614,7 +614,7 @@
    printf("%s = %s\n", p->name, (char*)p->value);
    break;
   }
- p = p->next;	
+ p = p->next;
  }
 
  if(Context->plugins)_cli_dump_pprefs(Context->plugins);



More information about the Openvas-commits mailing list