# HG changeset patch
# User melunko
# Date 1179318911 -3600
# Node ID 338476853df39c47cd04a859a26b280b063a78bd
# Parent  9d602fc9a79997a9b060dd38bd86b0f3cbed712d
[svn r669] If local hostname is not found, we consider it as a default string

diff -r 9d602fc9a799 -r 338476853df3 gmyth/src/gmyth_socket.c
--- a/gmyth/src/gmyth_socket.c	Wed May 16 13:21:24 2007 +0100
+++ b/gmyth/src/gmyth_socket.c	Wed May 16 13:35:11 2007 +0100
@@ -248,11 +248,11 @@
 
     if (res == -1) {
 	gmyth_debug ("Error while getting hostname");
-	return NULL;
+	return g_string_new ("default");
     }
 
     return g_string_new (hname);
-    
+
 #if 0	
     GString *str = NULL;