diff options
author | lanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 1999-09-13 12:45:33 +0000 |
---|---|---|
committer | lanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 1999-09-13 12:45:33 +0000 |
commit | 6e8332ff75aff851af0bb744d75349b314fe184e (patch) | |
tree | a693cafa00ad53f376eba1aff9601dc0c74d088e | |
parent | 5741f898c9fdbf48b6f1f82e5fffc9759fdc4dff (diff) |
return value wasn't dereferenced
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@23 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r-- | src/ConstantBoundary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ConstantBoundary.c b/src/ConstantBoundary.c index 3f7089e..eaa513a 100644 --- a/src/ConstantBoundary.c +++ b/src/ConstantBoundary.c @@ -155,7 +155,7 @@ int ApplyConstantBC(cGH *GH, CCTK_REAL var0, int *stencil_size, char *name) { void FMODIFIER FORTRAN_NAME(ApplyConstantBC)(int *retval, cGH *GH, CCTK_REAL var0, int *stencil_size, ONE_FORTSTRING_ARG) { ONE_FORTSTRING_CREATE(name) - retval = ApplyConstantBC(GH,var0,stencil_size,name); + *retval = ApplyConstantBC(GH,var0,stencil_size,name); free(name); } |