diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-08 23:38:54 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-08 23:38:54 +0000 |
commit | 42c7386f022e4a819174c07e23bb133eddd37539 (patch) | |
tree | b412add086622410cb324be6ae263f8c97407c82 /codegen.py | |
parent | 7ed10703eeea9379736e32cec751f23c3393aa4c (diff) | |
download | rabbitmq-server-42c7386f022e4a819174c07e23bb133eddd37539.tar.gz |
don't check shortstr size on decode since it is guaranteed to fit
Diffstat (limited to 'codegen.py')
-rw-r--r-- | codegen.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -240,8 +240,6 @@ def genErl(spec): elif type == 'table': print " F%d = rabbit_binary_parser:parse_table(F%dTab)," % \ (f.index, f.index) - elif type == 'shortstr': - print " if F%dLen > 255 -> exit(method_field_shortstr_overflow); true -> ok end," % (f.index) else: pass |