diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-08-20 02:16:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-08-20 02:16:23 +0000 |
commit | 2962655ac565291f66d4a5271c72bacf8774d4b6 (patch) | |
tree | f741ab678f15738c87d5be18dbf16e85db7c3a57 /packet-v120.h | |
parent | fe7540783e0b77fa044e4f6767069403ae620f23 (diff) |
This is an SMTP dissector, not a BXXP dissector; fix the comment at the
beginning.
Pass "pinfo->fd", not "fd", to "p_get_proto_data()", so that it'll
continue to work even when tvbuffified.
Use "strchr()", not "index()" - "strchr()" is in the ANSI C standard,
and may be in some systems that don't have "index()", whereas those
systems that had "index()" but not "strchr()" got with the ANSI C
program a while ago.
Use "old_dissector_add()" and "old_dissector_delete()" to register and
unregister the SMTP dissector, as it's not yet been tvbuffified.
svn path=/trunk/; revision=2303
Diffstat (limited to 'packet-v120.h')
0 files changed, 0 insertions, 0 deletions