Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /src/utils.c [978fca] .. [82f82e] Maximize Restore

  Switch to side-by-side view

--- a/src/utils.c
+++ b/src/utils.c
@@ -634,19 +634,6 @@
 		case '>': return '<';
 		default: return '\0';
 	}
-}
-
-
-gchar *utils_get_hostname(void)
-{
-#ifdef G_OS_WIN32
-	return win32_get_hostname();
-#elif defined(HAVE_GETHOSTNAME)
-	gchar hostname[100];
-	if (gethostname(hostname, sizeof(hostname)) == 0)
-		return g_strdup(hostname);
-#endif
-	return g_strdup("localhost");
 }