diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-12-13 14:32:08 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-12-13 14:32:08 +0000 |
commit | e278fca42170c3578019315a5b348f5e9e755ac0 (patch) | |
tree | 4bb57818fcf194f4d517fba64572efda2f50f33d /src/main/WarnLevel.c | |
parent | 080768e43b0ee6b4a1e4c648f77e2d9c4bf07d46 (diff) |
Cosmetic changes.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4208 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r-- | src/main/WarnLevel.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c index f0476695..b052f9dd 100644 --- a/src/main/WarnLevel.c +++ b/src/main/WarnLevel.c @@ -467,24 +467,24 @@ int CCTK_VWarn (int level, int myproc; va_list ap, aq; -/* Necessary for wrapping up the final message */ + /* Necessary for wrapping up the final message */ int msg_size; char *message = NULL; -/* Start generating message only if the warbcallback list is not NULL */ + /* Start generating message only if the warbcallback list is not NULL */ if(warncallbacks) { va_start(ap,format); msg_size = Util_vsnprintf(NULL, 0, format, ap); -/* Empty string is ok */ + /* Empty string is ok */ if(msg_size >= 0) { message = (char *)malloc(msg_size+1); } -/* Try to print in the allocated space. */ + /* Try to print in the allocated space. */ if(message) { va_start(ap,format); @@ -492,10 +492,10 @@ int CCTK_VWarn (int level, va_end(ap); } -/* call the callback function */ + /* call the callback function */ CCTKi_WarnCallbacksCall(level,line,file,thorn,message); -/* free the memory allocated for temp messsage */ + /* free the memory allocated for temp messsage */ free (message); } |