gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5075 - gnunet-gtk/src/plugins/peers


From: gnunet
Subject: [GNUnet-SVN] r5075 - gnunet-gtk/src/plugins/peers
Date: Fri, 15 Jun 2007 22:43:37 -0600 (MDT)

Author: grothoff
Date: 2007-06-15 22:43:36 -0600 (Fri, 15 Jun 2007)
New Revision: 5075

Modified:
   gnunet-gtk/src/plugins/peers/peers.c
Log:
fix

Modified: gnunet-gtk/src/plugins/peers/peers.c
===================================================================
--- gnunet-gtk/src/plugins/peers/peers.c        2007-06-16 04:04:13 UTC (rev 
5074)
+++ gnunet-gtk/src/plugins/peers/peers.c        2007-06-16 04:43:36 UTC (rev 
5075)
@@ -93,7 +93,7 @@
          }
          found = YES;
        }
-       FREE(haddress);
+       FREENONNULL(haddress);
        FREE(have);
       }
     } while ( (found == NO) &&
@@ -104,6 +104,8 @@
   hostname = network_get_ip_as_string(address,
                                      addr_len,
                                      YES);
+  if (hostname == NULL)
+    hostname = "NAT";
   /* get flag */
   flagBuf = NULL;
   ledBuf = NULL;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]