add: } else if (sp->flags&AVPOPS_VAL_STR) {   res = db_delete_avp( sp->val.s, 0, 0, dbp->sa.s, dbp->table.s);
context: int ops_dbdelete_avps (struct sip_msg* msg, struct fis_param *sp,									struct db_param *dbp, int use_domain){	struct sip_uri  uri;	int             res;	str             uuid;	if (sp->flags&AVPOPS_VAL_NONE)	{		/* get and parse uri */		if (parse_source_uri( msg, sp->flags, &uri)<0 )		{			LOG(L_ERR,"ERROR:avpops:dbdelete_avps: failed to get uri\n");			goto error;		}		/* do DB delete */		res = db_delete_avp(0, (sp->flags&AVPOPS_FLAG_DOMAIN)?&empty:&uri.user,				(use_domain||(sp->flags&AVPOPS_FLAG_DOMAIN))?&uri.host:0,				dbp->sa.s, dbp->table.s);	} else if (sp->flags&AVPOPS_VAL_AVP) {		/* get uuid from avp */		if (get_avp_as_str( sp, &uuid)<0)		{			LOG(L_ERR,"ERROR:avpops:dbdelete_avps: failed to get uuid\n");			goto error;		}		/* do DB delete */		res = db_delete_avp( &uuid, 0, 0, dbp->sa.s, dbp->table.s);	} else {		LOG(L_CRIT,"BUG:avpops:dbdelete_avps: invalid flag combination (%d)\n",			sp->flags);		goto error;	}	/* res ?  */	if (res<0)	{		LOG(L_ERR,"ERROR:avpops:dbdelete_avps: db_delete failed\n");		goto error;	}	return 1;error:	return -1;}