Ethereal-dev: Re: [Ethereal-dev] 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@xxxxxxxxxx>
Date: Fri, 9 Nov 2001 14:56:44 -0800 (PST)
> Hi, I would like to know why in packet-smtp.c there is a local
> "GHashTable *smtp_request_hash" that seems to do the same job that the
> conversation table can do.

There may not be a good reason.  It might be possible to just attach the
"smtp_request_val" structure pointer directly to the conversation, using
"conversation_add_proto_data()", when the data structure is first
allocated, and fetch it with "conversation_get_proto_data()".