Lines Matching defs:_new_msg
773 _sip_msg_t *_new_msg = (_sip_msg_t *)new_msg;
775 if (_old_msg == NULL || _new_msg == NULL || header_name == NULL ||
776 _old_msg == _new_msg) {
779 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex);
780 if (_new_msg->sip_msg_cannot_be_modified) {
781 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex);
786 ret = _sip_find_and_copy_header(_old_msg, _new_msg, header_name, param,
789 if (_new_msg->sip_msg_buf != NULL)
790 _new_msg->sip_msg_modified = B_TRUE;
791 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex);