From 63688a6278ec1042db992ee42726b5927378a834 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 10 Dec 2001 00:46:25 +0000 Subject: Fixed checking of parameter value. Closes Cactus/859. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2490 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/main/WarnLevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ¶m_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" -- cgit v1.2.3