Changeset 22206

Show
Ignore:
Timestamp:
09/08/07 16:47:37 (15 months ago)
Author:
bonefish
Message:

Fixed check I messed up recently.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • haiku/trunk/src/system/kernel/team.cpp

    r22187 r22206  
    26012601                // the thread must be the team's main thread, as that 
    26022602                // determines its process ID 
    2603                 if (thread == NULL && thread != thread->team->main_thread) 
     2603                if (thread == NULL || thread != thread->team->main_thread) 
    26042604                        return B_BAD_THREAD_ID; 
    26052605