From 70ac684095c0cea8876aa59ffc877f001257b37e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 14 Sep 2002 07:29:48 +0000 Subject: [PATCH] in_addr_t wasn't too standard, so use guint32 after all. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index 68fb9acb..9fac9ff4 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -158,7 +158,7 @@ DCC_REC *dcc_find_request(int type, const char *nick, const char *arg) void dcc_ip2str(IPADDR *ip, char *host) { IPADDR temp_ip; - in_addr_t addr; + guint32 addr; if (*settings_get_str("dcc_own_ip") != '\0') { /* overridden IP address */ @@ -178,7 +178,7 @@ void dcc_ip2str(IPADDR *ip, char *host) void dcc_str2ip(const char *str, IPADDR *ip) { - in_addr_t addr; + guint32 addr; if (strchr(str, ':') == NULL) { /* normal IPv4 address in 32bit number form */