/*
- * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2004, 2007 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
- * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
- *
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
#include "configd.h"
#include "session.h"
-#include "notify.h"
__private_extern__
boolean_t
switch (Request->not_header.msgh_id) {
case MACH_NOTIFY_NO_SENDERS :
- SCLog(_configd_verbose, LOG_DEBUG, CFSTR("No more senders for port %d, closing."),
- Request->not_header.msgh_local_port);
+ __MACH_PORT_DEBUG(TRUE, "*** notify_server MACH_NOTIFY_NO_SENDERS", Request->not_header.msgh_local_port);
cleanupSession(Request->not_header.msgh_local_port);
- (void) mach_port_mod_refs(mach_task_self(),
- Request->not_header.msgh_local_port,
- MACH_PORT_RIGHT_RECEIVE, -1);
-
Reply->Head.msgh_bits = 0;
Reply->Head.msgh_remote_port = MACH_PORT_NULL;
Reply->RetCode = KERN_SUCCESS;
}
SCLog(_configd_verbose, LOG_DEBUG, CFSTR("HELP!, Received notification: port=%d, msgh_id=%d"),
- Request->not_header.msgh_local_port,
- Request->not_header.msgh_id);
+ Request->not_header.msgh_local_port,
+ Request->not_header.msgh_id);
Reply->NDR = NDR_record;
Reply->RetCode = MIG_BAD_ID;