
2 Jan
2020
2 Jan
'20
4:42 p.m.
[snip]
- r = gethostname(virLogHostname, sizeof(virLogHostname)); - if (r == -1) { - ignore_value(virStrcpyStatic(virLogHostname, "(unknown)")); - } else { - NUL_TERMINATE(virLogHostname); - } + (void)g_get_host_name();
Why not use ignore_return() here? [snip]