summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-02-26 20:46:09 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-02-26 20:46:09 +0100
commit843e0c0884e1b512293c9b622d06a01f0f2b2776 (patch)
treee1e7b0c46235a131d9f88e57a688bda94eb69efe
parentf83a29b764d099513c4aef86a65814f8b2d2585d (diff)
parent4d234c175c69d3bcc80d9918fad98e3c6f69d23e (diff)
downloadirssi-843e0c0884e1b512293c9b622d06a01f0f2b2776.zip
Merge pull request #428 from mauke/irssiproxy-multiplex-2
fix proxy server name
-rw-r--r--src/irc/proxy/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c
index 3ec83773..ef288201 100644
--- a/src/irc/proxy/listen.c
+++ b/src/irc/proxy/listen.c
@@ -137,7 +137,7 @@ static void handle_client_connect_cmd(CLIENT_REC *client,
client->server = server;
g_free(client->proxy_address);
- client->proxy_address = g_strdup_printf("%*s.proxy", (int)(tag_end - args), args);
+ client->proxy_address = g_strdup_printf("%.*s.proxy", (int)(tag_end - args), args);
}
if (g_strcmp0(password, args_pass) != 0) {