diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-02-26 20:46:09 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-02-26 20:46:09 +0100 |
commit | 843e0c0884e1b512293c9b622d06a01f0f2b2776 (patch) | |
tree | e1e7b0c46235a131d9f88e57a688bda94eb69efe | |
parent | f83a29b764d099513c4aef86a65814f8b2d2585d (diff) | |
parent | 4d234c175c69d3bcc80d9918fad98e3c6f69d23e (diff) | |
download | irssi-843e0c0884e1b512293c9b622d06a01f0f2b2776.zip |
Merge pull request #428 from mauke/irssiproxy-multiplex-2
fix proxy server name
-rw-r--r-- | src/irc/proxy/listen.c | 2 |
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) { |