summaryrefslogtreecommitdiff
path: root/src/main/WarnLevel.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-12-13 14:28:08 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-12-13 14:28:08 +0000
commit5b24979e5268c1d5e92fa97e58612635ea47324a (patch)
treedcd230c5eba68da6033ba2c61ccc456f0cbac7e6 /src/main/WarnLevel.c
parent5f9d3d0185a837c8cfcf79d0efe00001be556d0e (diff)
Correcting some formatting.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4206 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r--src/main/WarnLevel.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c
index 23ab8bf5..f08a0618 100644
--- a/src/main/WarnLevel.c
+++ b/src/main/WarnLevel.c
@@ -225,25 +225,25 @@ int CCTK_VInfo (const char *thorn, const char *format, ...)
static int info_format_numeric = 0; /* print a numeric timestamp? */
static int info_format_human_readable = 0; /* print a human-readable timestamp? */
-/* 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 infocallback list is not NULL */
+ /* Start generating message only if the infocallback list is not NULL */
if(infocallbacks)
{
va_start(ap,format);
-/* one way to get the final string size */
+ /* one way to get the final string size */
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);
@@ -251,10 +251,10 @@ int CCTK_VInfo (const char *thorn, const char *format, ...)
va_end(ap);
}
-/* call the callback function */
+ /* call the callback function */
CCTKi_InfoCallbacksCall(thorn,message);
-/* free the memory allocated for temp messsage */
+ /* free the memory allocated for temp messsage */
free (message);
}