summaryrefslogtreecommitdiff
path: root/src/core/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/network.c')
-rw-r--r--src/core/network.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/network.c b/src/core/network.c
index a19a563c..bf7fbb97 100644
--- a/src/core/network.c
+++ b/src/core/network.c
@@ -590,12 +590,6 @@ const char *net_gethosterror(int error)
#ifdef HAVE_IPV6
g_return_val_if_fail(error != 0, NULL);
- if (error == 1) {
- /* getnameinfo() failed ..
- FIXME: does strerror return the right error message? */
- return g_strerror(errno);
- }
-
return gai_strerror(error);
#else
switch (error) {