Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-smtp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 19 Aug 2000 21:16:28 -0500 (CDT)
guy         2000/08/19 21:16:25 CDT

  Modified files:
    .                    packet-smtp.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.2       +6 -6      ethereal/packet-smtp.c