diff svr-chansession.c @ 182:aeca43462eee

merge of 954df0829153a81396cf111410fae269457c3ad6 and d7e8c6af971415504a2b626bf6dc1a4d50cdc5d7
author Matt Johnston <matt@ucc.asn.au>
date Sun, 13 Mar 2005 16:23:19 +0000
parents 161557a9dde8
children 675f7bf3c391
line wrap: on
line diff
--- a/svr-chansession.c	Sun Mar 13 16:22:36 2005 +0000
+++ b/svr-chansession.c	Sun Mar 13 16:23:19 2005 +0000
@@ -305,7 +305,7 @@
 	TRACE(("enter chansessionrequest"))
 
 	type = buf_getstring(ses.payload, &typelen);
-	wantreply = buf_getbyte(ses.payload);
+	wantreply = buf_getbool(ses.payload);
 
 	if (typelen > MAX_NAME_LEN) {
 		TRACE(("leave chansessionrequest: type too long")) /* XXX send error?*/