Wireshark-commits: [Wireshark-commits] master 019446a: Handle Date: headers differently from other
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=019446a474253b79eb75790c4fed85f383bb9c37
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
019446a by Guy Harris (guy@xxxxxxxxxxxx):
Handle Date: headers differently from other headers.
Handle Date: outside the "loop over magic strings" loop; that way, we
don't have to compare against "Date:" twice.
Don't use strlen() on constant strings - sizeof string - 1 lets us
calculate the length at compile time.
Change-Id: I7e4ff2f9762f96749a39609efa76430e5915d4f4
Reviewed-on: https://code.wireshark.org/review/12302
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 51ed8f4 Add some comments explaining what some code is doing.
adds 019446a Handle Date: headers differently from other headers.
Summary of changes:
wiretap/ascendtext.c | 124 +++++++++++++++++++++++++++++++++-----------------
1 file changed, 81 insertions(+), 43 deletions(-)