diff options
author | Jari Matilainen <jari.matilainen@istone.se> | 2017-05-14 03:01:01 +0200 |
---|---|---|
committer | Jari Matilainen <jari.matilainen@istone.se> | 2017-05-14 03:01:01 +0200 |
commit | 4a6fbdbe7891859ffd7b51a87147ecb6158df141 (patch) | |
tree | 057d2803ed5c6a2e1bb4b34a85e2e5c77aab2372 /src/fe-common | |
parent | 25f9c71f690f9fd846a39e646fbd11f715ffbfa5 (diff) | |
download | irssi-4a6fbdbe7891859ffd7b51a87147ecb6158df141.zip |
Spaces to tabs
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c index 89d6f739..73c77e77 100644 --- a/src/fe-common/core/fe-server.c +++ b/src/fe-common/core/fe-server.c @@ -118,9 +118,9 @@ static void cmd_server_add_modify(const char *data, gboolean add) if (*addr == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); - value = g_hash_table_lookup(optlist, "port"); - port = *portstr == '\0' ? - (value != NULL && *value != '\0' ? atoi(value) : DEFAULT_SERVER_ADD_PORT) + value = g_hash_table_lookup(optlist, "port"); + port = *portstr == '\0' ? + (value != NULL && *value != '\0' ? atoi(value) : DEFAULT_SERVER_ADD_PORT) : atoi(portstr); chatnet = g_hash_table_lookup(optlist, "network"); |