diff options
author | Lukas Mai <l.mai@web.de> | 2016-02-26 18:40:51 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2016-02-26 18:40:51 +0100 |
commit | 4d234c175c69d3bcc80d9918fad98e3c6f69d23e (patch) | |
tree | e1e7b0c46235a131d9f88e57a688bda94eb69efe /src | |
parent | f83a29b764d099513c4aef86a65814f8b2d2585d (diff) | |
download | irssi-4d234c175c69d3bcc80d9918fad98e3c6f69d23e.zip |
fix proxy server name
Diffstat (limited to 'src')
-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) { |