Commit fb586ca1 authored by Niels Möller's avatar Niels Möller
Browse files

(new_x11_channel): We don't have any ip-address

of the client, so send <"unix-domain", 0> as the peer address.

Rev: src/server_x11.c:1.13
parent b8df57d5
......@@ -92,10 +92,11 @@ new_x11_channel(struct channel_open_command *c,
/* NOTE: The request ought to include some reference to the
* corresponding x11 request, but no such id is specified in the
* protocol spec. */
/* NOTE: The name "unix-domain" was suggested by Tatu in
* <> */
*request = format_channel_open(ATOM_X11, local_channel_number,
self->peer->peer->ip, self->peer->peer->port);
"%z%i", "unix-domain", 0);
return channel;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment