diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-03-13 13:58:14 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-03-13 13:58:14 +0000 |
commit | f45eafe342aa07dfdc7a83e865b642f9b8ef2fa0 (patch) | |
tree | 420b80af3728353ee1a4151ecd32d627a48c1fdf /svr-x11fwd.c | |
parent | a68755af2bbc2e34ad23a74fc4d9d5c58502aa14 (diff) |
* fix longstanding bug with connections being closed on failure to
connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying
--HG--
extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
Diffstat (limited to 'svr-x11fwd.c')
-rw-r--r-- | svr-x11fwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-x11fwd.c b/svr-x11fwd.c index e15fb82..cbc8a79 100644 --- a/svr-x11fwd.c +++ b/svr-x11fwd.c @@ -52,7 +52,7 @@ int x11req(struct ChanSess * chansess) { return DROPBEAR_FAILURE; } - chansess->x11singleconn = buf_getbyte(ses.payload); + chansess->x11singleconn = buf_getbool(ses.payload); chansess->x11authprot = buf_getstring(ses.payload, NULL); chansess->x11authcookie = buf_getstring(ses.payload, NULL); chansess->x11screennum = buf_getint(ses.payload); |