Home
last modified time | relevance | path

Searched refs:need_to_append_dot (Results 1 – 1 of 1) sorted by relevance

/external/libevent/
Devdns.c3212 char need_to_append_dot; in search_make_new() local
3216 need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1; in search_make_new()
3224 char *const newname = (char *) mm_malloc(base_len + need_to_append_dot + postfix_len + 1); in search_make_new()
3227 if (need_to_append_dot) newname[base_len] = '.'; in search_make_new()
3228 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len); in search_make_new()
3229 newname[base_len + need_to_append_dot + postfix_len] = 0; in search_make_new()