add: strlower(&aor);
context: static int ul_rm_contact(FILE* pipe, char* response_file){	char table[MAX_TABLE];	char user[MAX_USER];	char contact[MAX_CONTACT];	udomain_t* d;	urecord_t* r;	ucontact_t* con;	str aor, t, c;	int res;	char* at;	if (!read_line(table, MAX_TABLE, pipe, &t.len) || t.len ==0) {		fifo_reply(response_file, 			   "400 ul_rm_contact: table name expected\n");		LOG(L_ERR, "ERROR: ul_rm_contact: table name expected\n");		return 1;	}	if (!read_line(user, MAX_USER, pipe, &aor.len) || aor.len==0) {		fifo_reply(response_file, 			   "400 ul_rm_contact: user name expected\n");		LOG(L_ERR, "ERROR: ul_rm_contact: user name expected\n");		return 1;	}	at = memchr(user, '@', aor.len);	if (use_domain) {		if (!at) {			fifo_reply(response_file,				   "400 ul_rm_contact: user@domain expected\n");			LOG(L_ERR, "ERROR: ul_rm_contact: Domain missing\n");			return 1;		}	} else {		if (at) {			aor.len = at - user;		}	}	if (!read_line(contact, MAX_CONTACT, pipe, &c.len) || c.len == 0) {		fifo_reply(response_file,			   "400 ul_rm_contact: contact expected\n");		LOG(L_ERR, "ERROR: ul_rm_contact: contact expected\n");		return 1;	}	aor.s = user;	t.s = table;	c.s = contact;	fifo_find_domain(&t, &d);	LOG(L_INFO, "INFO: deleting user-loc contact (%s,%s,%s)\n",	    table, user, contact );	if (d) {		lock_udomain(d);		res = get_urecord(d, &aor, &r);		if (res < 0) {			fifo_reply(response_file, "500 Error while looking for username %s in table %s\n", user, table);			LOG(L_ERR, "ERROR: ul_rm_contact: Error while looking for username %s in table %s\n", user, table);			unlock_udomain(d);			return 1;		}				if (res > 0) {			fifo_reply(response_file, "404 Username %s in table %s not found\n", user, table);			unlock_udomain(d);			return 1;		}		res = get_ucontact(r, &c, &con);		if (res < 0) {			fifo_reply(response_file, "500 Error while looking for contact %s\n", contact);			LOG(L_ERR, "ERROR: ul_rm_contact: Error while looking for contact %s\n", contact);			unlock_udomain(d);			return 1;		}					if (res > 0) {			fifo_reply(response_file, "404 Contact %s in table %s not found\n", contact, table);			unlock_udomain(d);			return 1;		}		if (delete_ucontact(r, con) < 0) {			fifo_reply(response_file, "500 ul_rm_contact: Error while deleting contact %s\n", contact);			unlock_udomain(d);			return 1;		}		release_urecord(r);		unlock_udomain(d);		fifo_reply(response_file, "200 Contact (%s, %s) deleted from table %s\n", 			user, contact, table);		return 1;	} else {		fifo_reply(response_file, "400 table (%s) not found\n", table);		return 1;	}}