diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-11-11 23:08:36 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-11-11 23:08:36 +0000 |
commit | 972da6083937abbd3a5d264d9960194b793defc2 (patch) | |
tree | 158959d96b87fbf2d9b376849793f98e7e4c964a /src/main | |
parent | 63ee19bfc57acdcf582b409ae16a08b57399474d (diff) |
Name flesh timers so that they contain the routine name as well
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4511 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/ScheduleInterface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c index be021bd4..7da615c0 100644 --- a/src/main/ScheduleInterface.c +++ b/src/main/ScheduleInterface.c @@ -1443,7 +1443,7 @@ static t_attribute *CreateAttribute(const char *where, this->FunctionData.n_SyncGroups = n_sync_groups; /* Add a timer to the item */ - timername = malloc (strlen (thorn) + strlen (description) + + timername = malloc (strlen (thorn) + strlen (name) + strlen (where) + 100); if (!timername) { @@ -1454,7 +1454,7 @@ static t_attribute *CreateAttribute(const char *where, else { sprintf (timername, "[%04d] %s: %s in %s", - timernum++, thorn, description, where); + timernum++, thorn, name, where); this->timer_handle = CCTK_TimerCreate(timername); if (this->timer_handle < 0) { |