Corrected some more bug with attribute list decoding

This commit is contained in:
Thomas Schmitt 2009-01-01 19:19:43 +00:00
parent cd962d32b6
commit d566b53668

View File

@ -1128,7 +1128,8 @@ int aaip_decode_pair(struct aaip_state *aaip,
size_t ready_bytes; size_t ready_bytes;
*consumed= 0; *consumed= 0;
if(aaip->pair_status < 0 || aaip->pair_status == 4 || if((aaip->pair_status < 0 && aaip->pair_status != -2) ||
aaip->pair_status == 4 ||
aaip->pair_status == 5) { /* dead ends */ aaip->pair_status == 5) { /* dead ends */
ret= aaip->pair_status; ret= aaip->pair_status;
goto ex; goto ex;