add: strlower(&aor);
context: static inline int ul_show_contact(FILE* pipe, char* response_file){	char table[MAX_TABLE];	char user[MAX_USER];	FILE* reply_file;	udomain_t* d;	urecord_t* r;	int res;	str t, aor;	char* at;	if (!read_line(table, MAX_TABLE, pipe, &t.len) || t.len ==0) {		fifo_reply(response_file, 			   "400 ul_show_contact: table name expected\n");		LOG(L_ERR, "ERROR: ul_show_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_show_contact: user name expected\n");		LOG(L_ERR, "ERROR: ul_show_contact: user name expected\n");		return 1;	}		at = memchr(user, '@', aor.len);	if (use_domain) {		if (!at) {			fifo_reply(response_file,				   "400 ul_show_contact: user@domain expected\n");			LOG(L_ERR, "ERROR: ul_show_contact: Domain missing\n");			return 1;		}	} else {		if (at) {			aor.len = at - user;		}	}	aor.s = user;	t.s = table;		fifo_find_domain(&t, &d);	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_show_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;		}				get_act_time();		reply_file=open_reply_pipe(response_file);		if (reply_file==0) {			LOG(L_ERR, "ERROR: ul_show_contact: file not opened\n");			unlock_udomain(d);			return 1;		}		if (!print_contacts(reply_file, r->contacts)) {			unlock_udomain(d);			fprintf(reply_file, "404 No registered contacts found\n");			fclose(reply_file);			return 1;		}		fclose(reply_file);		unlock_udomain(d);		return 1;	} else {		fifo_reply(response_file, "400 table (%s) not found\n", table);		return 1;	}}