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 | fec392a0b7c3f59b8f26f92fa1f65ce469596374 (patch) | |
| tree | b412add086622410cb324be6ae263f8c97407c82 /codegen.py | |
| parent | 6e0c2971c7c1a30fef0bc895adc79d437c99c733 (diff) | |
| download | rabbitmq-server-git-fec392a0b7c3f59b8f26f92fa1f65ce469596374.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
diff --git a/codegen.py b/codegen.py index 4fdbec554f..02b06f68aa 100644 --- a/codegen.py +++ b/codegen.py @@ -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 |
