diff options
-rw-r--r-- | src/IO/IOMethods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/IOMethods.c b/src/IO/IOMethods.c index 9eb91bb4..07b1d2bc 100644 --- a/src/IO/IOMethods.c +++ b/src/IO/IOMethods.c @@ -276,7 +276,7 @@ int CCTK_RegisterIOMethodTriggerOutput (int handle, method->TriggerOutput = TriggerOutput; } - return (method != NULL); + return (method ? 0 : -1); } |