Search
lxdream.org :: lxdream :: r633:bbfc1a38ddb5
lxdream 0.9.1
released Jun 29
Download Now
changeset633:bbfc1a38ddb5
parent632:740e7b35a857
child634:b7d5592495e9
authornkeynes
dateTue Feb 12 21:05:34 2008 +0000 (11 years ago)
Fix return buffer size on get cond failure
src/maple/maple.c
1.1 --- a/src/maple/maple.c Tue Feb 12 08:56:34 2008 +0000
1.2 +++ b/src/maple/maple.c Tue Feb 12 21:05:34 2008 +0000
1.3 @@ -194,8 +194,8 @@
1.4 else status = dev->get_condition(dev, func,
1.5 return_buf+8,
1.6 &out_length );
1.7 - out_length++;
1.8 if( status == 0 ) {
1.9 + out_length++;
1.10 status = MAPLE_RESP_DATA;
1.11 PUTWORD(4,func);
1.12 }
.