summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-10 00:46:25 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-10 00:46:25 +0000
commit63688a6278ec1042db992ee42726b5927378a834 (patch)
treeb22ea2b634d052c73f0935638f1f54c496665a7e /src/main
parent1a9e9c7522261b305f450f06112fbd59760f56eb (diff)
Fixed checking of parameter value.
Closes Cactus/859. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2490 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r--src/main/WarnLevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c
index 94c4d9e9..f8240db1 100644
--- a/src/main/WarnLevel.c
+++ b/src/main/WarnLevel.c
@@ -300,7 +300,7 @@ int CCTK_VWarn (int level,
cctk_full_warnings = (const CCTK_INT *)
CCTK_ParameterGet ("cctk_full_warnings", "Cactus",
&param_type);
- if ((level <= error_level) || (*cctk_full_warnings && cctk_full_warnings))
+ if ((level <= error_level) || (cctk_full_warnings && *cctk_full_warnings))
{
fprintf (stderr, "WARNING level %d in thorn %s processor %d\n"
" (line %d of %s): \n"