gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11030 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r11030 - gnunet/src/util
Date: Thu, 22 Apr 2010 13:32:42 +0200

Author: wachs
Date: 2010-04-22 13:32:42 +0200 (Thu, 22 Apr 2010)
New Revision: 11030

Modified:
   gnunet/src/util/resolver_api.c
Log:


Modified: gnunet/src/util/resolver_api.c
===================================================================
--- gnunet/src/util/resolver_api.c      2010-04-22 11:25:49 UTC (rev 11029)
+++ gnunet/src/util/resolver_api.c      2010-04-22 11:32:42 UTC (rev 11030)
@@ -669,30 +669,6 @@
 
 
 /**
- * Get local hostname
- * @return hostname
- */
-char *
-GNUNET_RESOLVER_local_hostname_get ( )
-{
-
-  char hostname[GNUNET_OS_get_hostname_max_length() + 1];
-
-
-  if (0 != gethostname (hostname, sizeof (hostname) - 1))
-    {
-      GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR |
-                           GNUNET_ERROR_TYPE_BULK, "gethostname");
-      return NULL;
-    }
-#if DEBUG_RESOLVER
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              _("Resolving our hostname `%s'\n"), hostname);
-#endif
-  return GNUNET_strdup (hostname);
-}
-
-/**
  * Get local fully qualified domain name
  * @return fqdn
  */





reply via email to

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