[svn r669] If local hostname is not found, we consider it as a default string trunk
authormelunko
Wed May 16 13:35:11 2007 +0100 (2007-05-16)
branchtrunk
changeset 663338476853df3
parent 662 9d602fc9a799
child 664 464d715ddb7e
[svn r669] If local hostname is not found, we consider it as a default string
gmyth/src/gmyth_socket.c
     1.1 --- a/gmyth/src/gmyth_socket.c	Wed May 16 13:21:24 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_socket.c	Wed May 16 13:35:11 2007 +0100
     1.3 @@ -248,11 +248,11 @@
     1.4  
     1.5      if (res == -1) {
     1.6  	gmyth_debug ("Error while getting hostname");
     1.7 -	return NULL;
     1.8 +	return g_string_new ("default");
     1.9      }
    1.10  
    1.11      return g_string_new (hname);
    1.12 -    
    1.13 +
    1.14  #if 0	
    1.15      GString *str = NULL;
    1.16