add: if (!_p->name.s) { LOG(L_ERR, "ERROR: parse_contact_class: empty value\n"); return; }
context: static inline void parse_contact_class(param_hooks_t* _h, param_t* _p){	switch(_p->name.s[0]) {	case 'q':	case 'Q':		if (_p->name.len == 1) {			_p->type = P_Q;			_h->contact.q = _p;		}		break;			case 'e':	case 'E':		if ((_p->name.len == 7) &&		    (!strncasecmp(_p->name.s + 1, "xpires", 6))) {			_p->type = P_EXPIRES;			_h->contact.expires = _p;		}		break;			case 'm':	case 'M':		if ((_p->name.len == 6) &&		    (!strncasecmp(_p->name.s + 1, "ethod", 5))) {			_p->type = P_METHOD;			_h->contact.method = _p;		}		break;	}}