mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
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
This commit is contained in:
parent
c5095a422c
commit
70ac684095
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user