[Openvas-commits] r3451 - in trunk/openvas-client: . nessus
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed May 20 16:16:16 CEST 2009
Author: felix
Date: 2009-05-20 16:16:16 +0200 (Wed, 20 May 2009)
New Revision: 3451
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/nessus/context.c
Log:
* nessus/context.c (check_is_dir, check_is_file, check_exists):
Cosmetics, reformatting.
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2009-05-20 14:14:38 UTC (rev 3450)
+++ trunk/openvas-client/ChangeLog 2009-05-20 14:16:16 UTC (rev 3451)
@@ -1,5 +1,10 @@
2009-05-20 Felix Wolfsteller <felix.wolfsteller at intevation.de>
+ * nessus/context.c (check_is_dir, check_is_file, check_exists):
+ Cosmetics, reformatting.
+
+2009-05-20 Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
* nessus/context.c: Adjusted include and call to functions of renamed
module.
Modified: trunk/openvas-client/nessus/context.c
===================================================================
--- trunk/openvas-client/nessus/context.c 2009-05-20 14:14:38 UTC (rev 3450)
+++ trunk/openvas-client/nessus/context.c 2009-05-20 14:16:16 UTC (rev 3451)
@@ -965,7 +965,7 @@
{
struct stat sb;
- if(stat(name, &sb))
+ if (stat (name, &sb))
return 0;
else
return 1;
@@ -982,10 +982,10 @@
{
struct stat sb;
- if(stat(name, &sb))
+ if (stat (name, &sb))
return 0;
else
- return(S_ISREG(sb.st_mode));
+ return (S_ISREG(sb.st_mode));
}
/**
@@ -1001,8 +1001,8 @@
{
struct stat sb;
- if(stat(name, &sb))
+ if (stat (name, &sb))
return 0;
else
- return(S_ISDIR(sb.st_mode));
+ return (S_ISDIR(sb.st_mode));
}
More information about the Openvas-commits
mailing list