diff options
author | Timo Sirainen <cras@irssi.org> | 2002-09-14 07:29:48 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-09-14 07:29:48 +0000 |
commit | 70ac684095c0cea8876aa59ffc877f001257b37e (patch) | |
tree | bf83dcc5d7a91a5551a2fd1f4705257588584e1b /src/irc/dcc | |
parent | c5095a422cd13e39fdcc718079f1f91d53f4cf92 (diff) | |
download | irssi-70ac684095c0cea8876aa59ffc877f001257b37e.zip |
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
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc.c | 4 |
1 files 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 */ |