Commit 9c661370 authored by Mathieu Trudel-Lapierre's avatar Mathieu Trudel-Lapierre Committed by Rodrigo Moya
Browse files

Default to g_get_host_name if pretty hostname call failed

parent 2c8837e7
......@@ -2657,7 +2657,6 @@ get_hostname (void)
if (error != NULL) {
g_warning ("Getting pretty hostname failed: %s", error->message);
g_error_free (error);
return NULL;
}
str = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment