]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit3842404f38b1b3a2c8fed4f619831caec95ce8db
tree8019ed6ea3b2e0685faae307abc98e01d7f8d57b
parente4fd0e2211a3ee21984f387614955df82b75d220
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@10081 cda61777-01e9-0310-a592-d414129be87e
ssh.c
ssh.h
x11fwd.c