comparison 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
comparison
equal deleted inserted replaced
180:743fce568f49 182:aeca43462eee
303 struct ChanSess *chansess; 303 struct ChanSess *chansess;
304 304
305 TRACE(("enter chansessionrequest")) 305 TRACE(("enter chansessionrequest"))
306 306
307 type = buf_getstring(ses.payload, &typelen); 307 type = buf_getstring(ses.payload, &typelen);
308 wantreply = buf_getbyte(ses.payload); 308 wantreply = buf_getbool(ses.payload);
309 309
310 if (typelen > MAX_NAME_LEN) { 310 if (typelen > MAX_NAME_LEN) {
311 TRACE(("leave chansessionrequest: type too long")) /* XXX send error?*/ 311 TRACE(("leave chansessionrequest: type too long")) /* XXX send error?*/
312 goto out; 312 goto out;
313 } 313 }