summaryrefslogtreecommitdiff
path: root/src/core/net-nonblock.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2015-09-22 21:59:17 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2015-09-22 21:59:17 +0200
commitf5f3d7cc98f24799f562e8d3126ea1c2786a6547 (patch)
treec229a706535599a59c4f29ea14db769859686465 /src/core/net-nonblock.h
parent2d69deb0a36516bac9514c6d53a1389b0a4b031a (diff)
downloadirssi-f5f3d7cc98f24799f562e8d3126ea1c2786a6547.zip
Revert "Network and IPv{4,6} related changes"
Diffstat (limited to 'src/core/net-nonblock.h')
-rw-r--r--src/core/net-nonblock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/net-nonblock.h b/src/core/net-nonblock.h
index 581536b3..af5968c8 100644
--- a/src/core/net-nonblock.h
+++ b/src/core/net-nonblock.h
@@ -4,12 +4,12 @@
#include "network.h"
typedef struct {
- IPADDR ip; /* resolved ip address */
+ IPADDR ip4, ip6; /* resolved ip addresses */
int error; /* error, 0 = no error, -1 = error: */
int errlen; /* error text length */
char *errorstr; /* error string - dynamically allocated, you'll
need to free() it yourself unless it's NULL */
- char *host; /* dito */
+ char *host4, *host6; /* dito */
} RESOLVED_IP_REC;
typedef struct {