From dcec7a1be9e4e99b4b71cd1f6d2e3f0a49f8b09e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 1 Jan 2009 19:19:43 +0000 Subject: [PATCH] Corrected some more bug with attribute list decoding --- test/aaip_0_2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/aaip_0_2.c b/test/aaip_0_2.c index da71527a..b550e92f 100644 --- a/test/aaip_0_2.c +++ b/test/aaip_0_2.c @@ -1128,7 +1128,8 @@ int aaip_decode_pair(struct aaip_state *aaip, size_t ready_bytes; *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 */ ret= aaip->pair_status; goto ex;