Lines 380-386
Link Here
|
380 |
} |
380 |
} |
381 |
|
381 |
|
382 |
#ifdef HONOUR_SEARCH_DOMAINS |
382 |
#ifdef HONOUR_SEARCH_DOMAINS |
383 |
if (u.count == 0 && avahi_works && !ends_with(name, ".")) { |
383 |
if (u.count == 0 && avahi_works && !strchr(name, '.')) { |
384 |
char **domains; |
384 |
char **domains; |
385 |
|
385 |
|
386 |
if ((domains = get_search_domains())) { |
386 |
if ((domains = get_search_domains())) { |
Lines 450-456
Link Here
|
450 |
} |
450 |
} |
451 |
|
451 |
|
452 |
#ifdef HONOUR_SEARCH_DOMAINS |
452 |
#ifdef HONOUR_SEARCH_DOMAINS |
453 |
if (u.count == 0 && !ends_with(name, ".")) { |
453 |
if (u.count == 0 && !strchr(name, '.')) { |
454 |
char **domains; |
454 |
char **domains; |
455 |
|
455 |
|
456 |
/* Try the search domains if the user did not use a traling '.' */ |
456 |
/* Try the search domains if the user did not use a traling '.' */ |