rem: if (!h && _m->REQ_METHOD != METHOD_ACK &&  _m->REQ_METHOD == METHOD_CANCEL) {
add: if (!h && (_m->REQ_METHOD == METHOD_ACK ||  _m->REQ_METHOD == METHOD_CANCEL)) {
context: int consume_credentials(struct sip_msg* _m, char* _s1, char* _s2){	struct hdr_field* h;	int len;	get_authorized_cred(_m->authorization, &h);	if (!h) {		get_authorized_cred(_m->proxy_auth, &h);		if (!h && _m->REQ_METHOD != METHOD_ACK 					&&  _m->REQ_METHOD == METHOD_CANCEL) {			LOG(L_ERR, "consume_credentials(): No authorized "							"credentials found (error in scripts)\n");			return -1;		}	}	len=h->len;	if (del_lump(&_m->add_rm, h->name.s - _m->buf, len, 0) == 0) {		LOG(L_ERR, "consume_credentials(): Can't remove credentials\n");		return -1;	}	return 1;}