diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-18 21:23:21 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-18 21:23:21 +0000 |
commit | 98bc546159f112745e6e83517efdb4e587735025 (patch) | |
tree | b3171f67c3df7e7acdb07db016aaa6730dd91a6f /src/main/ActiveThorns.c | |
parent | 74d1700b7ced30ddfc7813c9b30be54a7adf23c5 (diff) |
Fixed small bug in detecting errors in thorn inheritance
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2414 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/ActiveThorns.c')
-rw-r--r-- | src/main/ActiveThorns.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/ActiveThorns.c b/src/main/ActiveThorns.c index c61350f3..e3192848 100644 --- a/src/main/ActiveThorns.c +++ b/src/main/ActiveThorns.c @@ -8,6 +8,8 @@ @version $Header$ @@*/ +#define DEBUG_ACTIVATE + #include "cctk_Config.h" #include <stdio.h> @@ -1239,7 +1241,7 @@ int CCTKi_ActivateThorns(const char *activethornlist) /* Since the requested imps is a subset of the required imps, * we may still have some required imps to go through. */ - while((imp2=Util_StringListNext(required_imps,0))) + while((imp2)) { printf("Error: required implementation %s not requested\n", imp2); printf(" Add a thorn providing this implementation to ActiveThorns parameter.\n"); @@ -1260,6 +1262,7 @@ int CCTKi_ActivateThorns(const char *activethornlist) printf(" This implementation is not provided by any " "compiled thorn\n"); } + imp2=Util_StringListNext(required_imps,0); } } |