IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and

at connect() time it's decided which one should be used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-04 01:47:13 +00:00 committed by cras
commit 4c7b07ed3f
21 changed files with 216 additions and 127 deletions

View file

@ -47,10 +47,14 @@
#include "nls.h"
#define g_free_not_null(a) \
if (a) g_free(a);
G_STMT_START { \
if (a) g_free(a); \
} G_STMT_END
#define g_free_and_null(a) \
if (a) { g_free(a); (a) = NULL; }
G_STMT_START { \
if (a) { g_free(a); (a) = NULL; } \
} G_STMT_END
#define G_INPUT_READ (1 << 0)
#define G_INPUT_WRITE (1 << 1)