Mercurial > dropbear
diff svr-x11fwd.c @ 179:161557a9dde8
* 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
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 13 Mar 2005 13:58:14 +0000 |
parents | 0cfba3034be5 |
children | 740e782679be 52a644e7b8e1 |
line wrap: on
line diff
--- a/svr-x11fwd.c Sun Mar 13 12:03:27 2005 +0000 +++ b/svr-x11fwd.c Sun Mar 13 13:58:14 2005 +0000 @@ -52,7 +52,7 @@ 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);