- g_ptr_array_add(hostnamed_freeable, hostname_buf);
- g_ptr_array_add(hostnamed_freeable, ret);
-
- if(gethostname(hostname_buf, MAXHOSTNAMELEN) || g_strcmp0(hostname_buf, "") == 0)
- return "localhost";
-
- hostname_divider = strcspn(hostname_buf, ".");
-
- return strncpy(ret, hostname_buf, hostname_divider);*/
-
-
-
- /*const gchar *pretty_hostname;
- const gchar *ret;
-
- pretty_hostname = our_get_pretty_hostname();
-
- if(g_strcmp0(pretty_hostname, "") == 0)
- ret = our_get_hostname();
-
- else if((ret = g_hostname_to_ascii(pretty_hostname))) {
-
- g_ptr_array_add(hostnamed_freeable, (gpointer)ret);
- return ret;
- }
-
- return ret;*/