]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Get rid of the error-return mechanism from x11_init.
authorSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:05:23 +0000 (14:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:05:23 +0000 (14:05 +0000)
commite5a3e28eec308e1682d22292ffe4bf6fba884f40
tree8019ed6ea3b2e0685faae307abc98e01d7f8d57b
parent94e8f97d3f6e0701276cb4c17e7479c44d025766
Get rid of the error-return mechanism from x11_init.

Now that it doesn't actually make a network connection because that's
deferred until after the X authorisation exchange, there's no point in
having it return an error message and write the real output through a
pointer argument. Instead, we can just have it return xconn directly
and simplify the call sites.

[originally from svn r10081]
ssh.c
ssh.h
x11fwd.c