Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libevent/
Devdns.c2495 const char need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1; in search_make_new() local
2504 char *const newname = (char *) malloc(base_len + need_to_append_dot + postfix_len + 1); in search_make_new()
2507 if (need_to_append_dot) newname[base_len] = '.'; in search_make_new()
2508 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len); in search_make_new()
2509 newname[base_len + need_to_append_dot + postfix_len] = 0; in search_make_new()