A zero-length return from platform_get_x_display() (for instance, a
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 11 Feb 2006 18:00:23 +0000 (18:00 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 11 Feb 2006 18:00:23 +0000 (18:00 +0000)
commitc2ec50a1445d17b65900427ad63f6ff8692aa386
tree3dd1382f41d6cc1cf7ca348c933fbad8614558a0
parent47d1dab7c8a0d34b5b07c0f7d9ee98edda4b6ec7
A zero-length return from platform_get_x_display() (for instance, a
zero-length DISPLAY variable in the environment) caused an assertion
failure when X11 forwarding was attempted. Fixed (now treated the same
as a NULL return, e.g., a non-existent DISPLAY variable).

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