mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
5afb3c1454
commit
4c7b07ed3f
21 changed files with 216 additions and 127 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue