summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-08-12 06:46:39 +0100
committerTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-08-12 06:46:39 +0100
commit8387f05f9828268eaa30df196057e175100644e6 (patch)
tree809a38dc7ca744b1658196622cc7a626ce6242f6
parentaf3e50ba6af5ad39be52bb3b092cd9da016cb854 (diff)
downloadrabbitmq-c-github-ask-8387f05f9828268eaa30df196057e175100644e6.tar.gz
Add missing flagword_index increment
-rw-r--r--librabbitmq/codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/codegen.py b/librabbitmq/codegen.py
index 30cb79c..2775bb2 100644
--- a/librabbitmq/codegen.py
+++ b/librabbitmq/codegen.py
@@ -294,6 +294,7 @@ int amqp_decode_properties(uint16_t class_id,
partial_flags = D_16(encoded, offset);
offset += 2;
flags |= (partial_flags << (flagword_index * 16));
+ flagword_index++;
} while (partial_flags & 1);
switch (class_id) {"""