aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal_gen.py
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-28 19:27:13 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-28 19:27:13 +0000
commit9178f17c700b3b689588e30292b93bada3158bc3 (patch)
tree72cd158df082a89fe95745a2bdfd7c2191940c62 /ethereal_gen.py
parent4b2f50c8798ec75bebcc84a1b39ca3fab90fb346 (diff)
1. replace "and" with "&&" in ethereal_gen.py:2103
2. add make_printable_string in libethereal.def git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16351 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ethereal_gen.py')
-rw-r--r--ethereal_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal_gen.py b/ethereal_gen.py
index a698bf5127..bd3d224bad 100644
--- a/ethereal_gen.py
+++ b/ethereal_gen.py
@@ -2100,7 +2100,7 @@ for (i_@seqname@=0; i_@seqname@ < u_octet4_loop_@seqname@; i_@seqname@++) {
"""
template_get_CDR_sequence_octet = """\
-if (u_octet4_loop_@seqname@ > 0 and tree) {
+if (u_octet4_loop_@seqname@ > 0 && tree) {
get_CDR_octet_seq(tvb, &binary_seq_@seqname@, offset,
u_octet4_loop_@seqname@);
text_seq_@seqname@ = make_printable_string(binary_seq_@seqname@,