diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-22 21:59:17 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-22 21:59:17 +0200 |
commit | f5f3d7cc98f24799f562e8d3126ea1c2786a6547 (patch) | |
tree | c229a706535599a59c4f29ea14db769859686465 /src/fe-common/core | |
parent | 2d69deb0a36516bac9514c6d53a1389b0a4b031a (diff) | |
download | irssi-f5f3d7cc98f24799f562e8d3126ea1c2786a6547.zip |
Revert "Network and IPv{4,6} related changes"
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/fe-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c index f8558ad1..429e6dac 100644 --- a/src/fe-common/core/fe-server.c +++ b/src/fe-common/core/fe-server.c @@ -138,7 +138,7 @@ static void cmd_server_add(const char *data) if (*password != '\0') g_free_and_null(rec->password); if (g_hash_table_lookup(optlist, "host")) { g_free_and_null(rec->own_host); - rec->own_ip = NULL; + rec->own_ip4 = rec->own_ip6 = NULL; } } @@ -193,7 +193,7 @@ static void cmd_server_add(const char *data) value = g_hash_table_lookup(optlist, "host"); if (value != NULL && *value != '\0') { rec->own_host = g_strdup(value); - rec->own_ip = NULL; + rec->own_ip4 = rec->own_ip6 = NULL; } signal_emit("server add fill", 2, rec, optlist); |