Projects
Browse Source     Search     Timeline     Wiki

Changeset 23337

Show
Ignore:
Timestamp:
08/14/07 13:13:00 (16 months ago)
Author:
zarzycki@…
Message:

Sanity checks.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd_core_logic.c

    r23336 r23337  
    18331833 
    18341834        LIST_FOREACH(ms, &port_hash[HASH_PORT(p)], port_hash_sle) { 
    1835                 if (ms->port == p) { 
     1835                if (ms->recv && (ms->port == p)) { 
    18361836                        return ms->job; 
    18371837                } 
     
    43434343 
    43444344        LIST_FOREACH(ms, &port_hash[HASH_PORT(p)], port_hash_sle) { 
    4345                 if (ms->port == p) { 
     4345                if (ms->recv && (ms->port == p)) { 
    43464346                        break; 
    43474347                }