return false;
}
- dataQueue->queueSize = size;
- dataQueue->head = 0;
- dataQueue->tail = 0;
+ dataQueue->queueSize = size;
+ dataQueue->head = 0;
+ dataQueue->tail = 0;
return true;
}
mach_msg_header_t * msgh;
msgh = (mach_msg_header_t *)notifyMsg;
- if (msgh) {
+ if (msgh && msgh->msgh_remote_port) {
kr = mach_msg_send_from_kernel(msgh, msgh->msgh_size);
switch(kr) {
case MACH_SEND_TIMED_OUT: // Notification already sent