changeset 1064:23dab670c5aa draft

TaskManagerImpl::get_task_name() fix in header file...
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Thu, 16 Dec 2010 22:46:45 +0900
parents dbd083c00be4
children 4d79aed93a07
files TaskManager/kernel/ppe/TaskManagerImpl.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/TaskManagerImpl.cc	Thu Dec 16 22:40:25 2010 +0900
+++ b/TaskManager/kernel/ppe/TaskManagerImpl.cc	Thu Dec 16 22:46:45 2010 +0900
@@ -155,7 +155,7 @@
 	case TaskArray1:
 		return get_task_name((TaskPtr)htask->rbuf);
 		break;
-	case TaskArray:
+	case TaskArray: {
 		HTaskPtr t = htask->next;
 		for (int i = 0; i < index; i++) {
 			if (!t->next) return NULL;
@@ -163,6 +163,7 @@
 		}
 		return get_task_name(t->command);
 		break;
+	}
 	default:
 		return get_task_name(htask->command);
 	}