prevent possible crash

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18863 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2006-09-16 19:58:41 +00:00
parent f7784f57e2
commit 6639eae245
+1 -1
View File
@@ -321,7 +321,7 @@ send_signal_etc(pid_t id, uint signal, uint32 flags)
struct team *team, *next;
// we need a safe way to get from the thread to the process group
id = thread->team->id;
// XXX whats this? id = thread->team->id;
for (team = group->teams; team != NULL; team = next) {
next = team->group_next;